Skip to content

Fix warnings for the L4Re targets - #165512

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
farao:l4re-fix-build2
Nov 7, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
farao:l4re-fix-build2

Conversation

@farao

@farao farao commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Mostly configures out unused code but also reenabled DirEntry::file_type which now builds for the L4Re targets.

@rustbot rustbot added O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 5, 2026
@rustbot

rustbot commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 38 candidates
  • Random selection from ChrisDenton, JohnTitor, LawnGnome, Mark-Simulacrum, clarfonthey

@rust-log-analyzer

This comment has been minimized.

Comment thread library/std/src/sys/fd/unix.rs Resolved
@maxdexh maxdexh assigned maxdexh and unassigned JohnTitor Nov 5, 2026
@maxdexh

maxdexh commented Nov 5, 2026

Copy link
Copy Markdown
Member

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 5, 2026
@rustbot

rustbot commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@maxdexh maxdexh added the O-L4Re https://doc.rust-lang.org/beta/rustc/platform-support/l4re.html label Nov 5, 2026
Mostly configures out unused code but also reenabled DirEntry::file_type
which now builds for the L4Re targets.
@farao

farao commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 5, 2026
@maxdexh

maxdexh commented Nov 6, 2026

Copy link
Copy Markdown
Member

Thanks!
@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

📌 Commit db777f2 has been approved by maxdexh

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 6, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 6, 2026
Fix warnings for the L4Re targets

Mostly configures out unused code but also reenabled DirEntry::file_type which now builds for the L4Re targets.
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 6, 2026
Fix warnings for the L4Re targets

Mostly configures out unused code but also reenabled DirEntry::file_type which now builds for the L4Re targets.
rust-bors Bot pushed a commit that referenced this pull request Nov 6, 2026
…uwer

Rollup of 19 pull requests

Successful merges:

 - #164784 (Introduce OptimizationObjective and fix the entry shim's size attributes)
 - #165037 (Drop array elements in order after a partial move)
 - #165078 (Use the `2.38` binutils version in CI)
 - #159374 (Lower #[no_mangle] to #[symbol_name]/#[link_name])
 - #163284 (feat(Reborrow): Allow multiple lifetimes)
 - #164775 (Tweak output on misused `const` parameter to provide more context and more accurate suggestion)
 - #165194 (name elided lifetimes in `use<...>` suggestion when `impl Trait` params are present)
 - #165222 (Anonymize inner binders when checking refining)
 - #165335 (Fallible type ops)
 - #165388 (Accept variadic SysV64, Win64, and Aapcs FnAbis in rustc_public)
 - #165448 (Update `Vec::retain_unstable` docs to say that this method is generally faster than `Vec::retain_mut`)
 - #165494 (fix Miri ICE on exit with () return type)
 - #165503 (update Enzyme submodule)
 - #165505 (DFV: Reject `#[non_exhaustive]` on enum variants with default field values)
 - #165512 (Fix warnings for the L4Re targets)
 - #165514 (Remove unused `WhereEqPredicate` and `ScopeId` types)
 - #165518 (style-guide: Remove ABI explicitness prescription for extern items)
 - #165519 (Update books)
 - #165534 (rename MIR_borrow_checking timing scope to less confusing name)
rust-bors Bot pushed a commit that referenced this pull request Nov 7, 2026
Rollup of 15 pull requests

Successful merges:

 - #165037 (Drop array elements in order after a partial move)
 - #165550 (Make `Literal::cstr_value` return a `CString`)
 - #159374 (Lower #[no_mangle] to #[symbol_name]/#[link_name])
 - #163284 (feat(Reborrow): Allow multiple lifetimes)
 - #164775 (Tweak output on misused `const` parameter to provide more context and more accurate suggestion)
 - #165194 (name elided lifetimes in `use<...>` suggestion when `impl Trait` params are present)
 - #165222 (Anonymize inner binders when checking refining)
 - #165335 (Fallible type ops)
 - #165388 (Accept variadic SysV64, Win64, and Aapcs FnAbis in rustc_public)
 - #165448 (Update `Vec::retain_unstable` docs to say that this method is generally faster than `Vec::retain_mut`)
 - #165494 (fix Miri ICE on exit with () return type)
 - #165505 (DFV: Reject `#[non_exhaustive]` on enum variants with default field values)
 - #165512 (Fix warnings for the L4Re targets)
 - #165514 (Remove unused `WhereEqPredicate` and `ScopeId` types)
 - #165518 (style-guide: Remove ABI explicitness prescription for extern items)
@rust-bors
rust-bors Bot merged commit 4dac77d into rust-lang:main Nov 7, 2026
14 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Nov 7, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 7, 2026
Rollup merge of #165512 - farao:l4re-fix-build2, r=maxdexh

Fix warnings for the L4Re targets

Mostly configures out unused code but also reenabled DirEntry::file_type which now builds for the L4Re targets.
RalfJung pushed a commit to JoJoDeveloping/miri that referenced this pull request Nov 8, 2026
Rollup of 15 pull requests

Successful merges:

 - rust-lang/rust#165037 (Drop array elements in order after a partial move)
 - rust-lang/rust#165550 (Make `Literal::cstr_value` return a `CString`)
 - rust-lang/rust#159374 (Lower #[no_mangle] to #[symbol_name]/#[link_name])
 - rust-lang/rust#163284 (feat(Reborrow): Allow multiple lifetimes)
 - rust-lang/rust#164775 (Tweak output on misused `const` parameter to provide more context and more accurate suggestion)
 - rust-lang/rust#165194 (name elided lifetimes in `use<...>` suggestion when `impl Trait` params are present)
 - rust-lang/rust#165222 (Anonymize inner binders when checking refining)
 - rust-lang/rust#165335 (Fallible type ops)
 - rust-lang/rust#165388 (Accept variadic SysV64, Win64, and Aapcs FnAbis in rustc_public)
 - rust-lang/rust#165448 (Update `Vec::retain_unstable` docs to say that this method is generally faster than `Vec::retain_mut`)
 - rust-lang/rust#165494 (fix Miri ICE on exit with () return type)
 - rust-lang/rust#165505 (DFV: Reject `#[non_exhaustive]` on enum variants with default field values)
 - rust-lang/rust#165512 (Fix warnings for the L4Re targets)
 - rust-lang/rust#165514 (Remove unused `WhereEqPredicate` and `ScopeId` types)
 - rust-lang/rust#165518 (style-guide: Remove ABI explicitness prescription for extern items)
@cuviper cuviper modified the milestones: 1.101.0, 1.102.0 Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-L4Re https://doc.rust-lang.org/beta/rustc/platform-support/l4re.html O-unix Operating system: Unix-like S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants