Skip to content

Rollup of 7 pull requests #141050

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

Merged
merged 19 commits into from
May 16, 2025
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
14662fa
docs(library/core/src/pin): fix typo "necessarily" -> "necessary"
ruancomelli Apr 13, 2025
6f23f16
docs(library/core/src/pin): rewrite for clarity
ruancomelli Apr 13, 2025
53459ff
Simplify `Vec::as_non_null` implementation and make it `const`
viliml May 5, 2025
31ebe11
normalization: avoid incompletely constraining GAT args
lcnr May 6, 2025
0185484
refactor `probe_and_consider_param_env_candidate`
lcnr May 8, 2025
df1da67
Flush errors before deep normalize in dropck_outlives
compiler-errors May 12, 2025
a508011
Expect deep norm to fail if query norm failed
compiler-errors May 12, 2025
e1f1878
Fix set_name for vxworks. Length of name should be truncated to VX_TA…
biabbas May 14, 2025
544c8ce
Fix settimes for vxworks
biabbas May 14, 2025
ac1df15
Improve `dangerous_implicit_aurorefs` diagnostic output
Urgau May 7, 2025
9b3abe7
Use more subdiagnostics and reword the overloaded deref note
Urgau May 14, 2025
92116bc
remove `RustfmtState` to reduce `initial_rustfmt` complexity
onur-ozkan May 15, 2025
8768188
Rollup merge of #139749 - ruancomelli:docs/library/core/src/pin/fix-t…
matthiaskrgr May 15, 2025
7a8fd99
Rollup merge of #140685 - viliml:patch-1, r=Mark-Simulacrum
matthiaskrgr May 15, 2025
1f84e11
Rollup merge of #140712 - lcnr:normalization-gat-args, r=compiler-errors
matthiaskrgr May 15, 2025
f5fb0d3
Rollup merge of #140768 - Urgau:improv_autorefs-lint, r=fmease
matthiaskrgr May 15, 2025
d0ea342
Rollup merge of #140947 - compiler-errors:pending-norm, r=lcnr
matthiaskrgr May 15, 2025
9927143
Rollup merge of #140990 - biabbas:vxworks, r=tgross35
matthiaskrgr May 15, 2025
3e6a286
Rollup merge of #141027 - onur-ozkan:simpler-rustfmt-initialization, …
matthiaskrgr May 15, 2025
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
Prev Previous commit
Next Next commit
Fix settimes for vxworks
  • Loading branch information
biabbas committed May 14, 2025
commit 544c8ce535c834d726b5dd252046aa5eeb1bf5ec
3 changes: 1 addition & 2 deletions library/std/src/sys/fs/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1498,11 +1498,10 @@ impl File {
None => Ok(libc::timespec { tv_sec: 0, tv_nsec: libc::UTIME_OMIT as _ }),
};
cfg_if::cfg_if! {
if #[cfg(any(target_os = "redox", target_os = "espidf", target_os = "horizon", target_os = "vxworks", target_os = "nuttx"))] {
if #[cfg(any(target_os = "redox", target_os = "espidf", target_os = "horizon", target_os = "nuttx"))] {
// Redox doesn't appear to support `UTIME_OMIT`.
// ESP-IDF and HorizonOS do not support `futimens` at all and the behavior for those OS is therefore
// the same as for Redox.
// `futimens` and `UTIME_OMIT` are a work in progress for vxworks.
let _ = times;
Err(io::const_error!(
io::ErrorKind::Unsupported,
Expand Down
Loading