You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rustc 1.101.0-nightly (3e92e1a 2026-11-01)
building with -Zbuild-std
affected targets: aarch64-unknown-l4re-uclibc x86_64-unknown-l4re-uclibc
error[: cannot find module or crate `dir` in this scope
╭▸ /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/fs/unix.rs:1067:44
│
1067 │ mem::ManuallyDrop::new(dir::Dir(unsafe { OwnedFd::from_raw_fd(fd) }));
│ ━━━ use of unresolved module or unlinked crate `dir`
╰╴
help: to make use of source file /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/fs/unix/dir.rs, use `mod dir` in this file to declare the module
╭▸ /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/lib.rs:454:1
│
454 + mod dir;
╰╴
For more information about this error, try `rustc --explain E0433`.
error: could not compile `std` (lib) due to 1 previous error
Which is why we rely on individual reports and fixes, because they are not at a point where we can contemplate allowing them to block a merge, which tier 1 and tier 2 targets are allowed to do.
4. Could you please confirm if this is the intended approach to fix the issue, and whether you would be open to reviewing a contribution for it? Additionally, I'd appreciate any guidance you might have on setting up regression testing for this Tier 3 target.
Agreed that this is the fix. Will you make a change or shall I?
Activity
maxdexh commentedon Nov 2, 2026
cc @farao (target maintainer)
Tushar15769 commentedon Nov 2, 2026
workingjubilee commentedon Nov 3, 2026
We don't do regression testing for tier 3 targets by definition of the target tier policy: https://doc.rust-lang.org/rustc/target-tier-policy.html#tier-3-target-policy
Which is why we rely on individual reports and fixes, because they are not at a point where we can contemplate allowing them to block a merge, which tier 1 and tier 2 targets are allowed to do.
Tushar15769 commentedon Nov 3, 2026
Tushar15769 commentedon Nov 3, 2026
farao commentedon Nov 3, 2026
Hi! Thanks a lot for caring about the L4Re target! I'm happy to look into the issue later myself and also happy to be a reviewer of a change.
farao commentedon Nov 3, 2026
Agreed that this is the fix. Will you make a change or shall I?
Tushar15769 commentedon Nov 3, 2026