Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 8 pull requests #108339

Merged
merged 17 commits into from
Feb 22, 2023
Merged
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
21bcd2e
Fix ICE on type alias in recursion
clubby789 Feb 17, 2023
0e05280
Add an InstCombine for redundant casts
saethlin Feb 19, 2023
0b9a3e2
Fix overlapping spans in removing extra arguments
clubby789 Feb 19, 2023
f58c8ab
Fix duplicated attributes for first reexport
GuillaumeGomez Feb 21, 2023
fec6ad6
Add regression test for #108281
GuillaumeGomez Feb 21, 2023
7867aa8
Remove unused FileDesc::get_cloexec
tmiasko Feb 20, 2023
ce2ae62
Convert a hard-warning about named static lifetimes into lint "unused…
LittleFall Feb 22, 2023
7596998
Move some InferCtxt methods to EvalCtxt in new solver
compiler-errors Feb 16, 2023
2f16355
Add no-fail-fast support to miri, rustfmt and clippy testsuites
Feb 22, 2023
f1ad7f0
Rollup merge of #108110 - compiler-errors:new-solver-less-infcx, r=lcnr
GuillaumeGomez Feb 22, 2023
89c201e
Rollup merge of #108168 - clubby789:recursive-type-alias, r=compiler-…
GuillaumeGomez Feb 22, 2023
a32c500
Rollup merge of #108230 - LittleFall:enhance/warning, r=estebank
GuillaumeGomez Feb 22, 2023
437f210
Rollup merge of #108239 - clubby789:overlapping-spans, r=compiler-errors
GuillaumeGomez Feb 22, 2023
4658210
Rollup merge of #108246 - saethlin:instcombine-redundant-casts, r=com…
GuillaumeGomez Feb 22, 2023
8fd47a6
Rollup merge of #108264 - jchecahi:tool-testsuite-ignores-no-fail-fas…
GuillaumeGomez Feb 22, 2023
8d33b78
Rollup merge of #108310 - GuillaumeGomez:fix-reexports-duplicated-att…
GuillaumeGomez Feb 22, 2023
0d0de49
Rollup merge of #108318 - tmiasko:rm-get_cloexec, r=the8472
GuillaumeGomez Feb 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions library/std/src/sys/unix/fd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,6 @@ impl FileDesc {
}
}

#[cfg(target_os = "linux")]
pub fn get_cloexec(&self) -> io::Result<bool> {
unsafe { Ok((cvt(libc::fcntl(self.as_raw_fd(), libc::F_GETFD))? & libc::FD_CLOEXEC) != 0) }
}

#[cfg(not(any(
target_env = "newlib",
target_os = "solaris",
Expand Down