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 9 pull requests #88556

Merged
merged 21 commits into from
Sep 1, 2021
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
21f07b5
Fix the flock fallback implementation
bjorn3 Aug 15, 2021
f33f266
BTree: remove Ord bound from new
nbdd0121 Aug 15, 2021
5802f60
add support for clobbering xer, cr, and cr[0-7] for asm! on OpenPower…
programmerjake Aug 26, 2021
fc125a5
emit specific warning to clarify that foreign items can't have no_mangle
asquared31415 Aug 30, 2021
026322c
fix(rustc_typeck): produce better errors for dyn auto trait
notriddle Aug 31, 2021
435cdd0
Update E0785.md
notriddle Aug 31, 2021
6e70678
Change wording to less jaron-y "non-auto trait"
notriddle Aug 31, 2021
87e39ac
Remove bolding on associated constants
camelid Aug 23, 2021
0e0c8ae
Use the return value of readdir_r() instead of errno
tavianator Aug 31, 2021
753dac1
Stabilize `UnsafeCell::raw_get()`
inquisitivecrystal Aug 31, 2021
06dd4c0
Stabilize `Iterator::intersperse()`
inquisitivecrystal Aug 31, 2021
227e004
Add a few tests for `UnsafeCell`
inquisitivecrystal Aug 31, 2021
dcefd68
Rollup merge of #86376 - asquared31415:extern-no-mangle-84204, r=Mark…
m-ou-se Sep 1, 2021
5878780
Rollup merge of #88040 - nbdd0121:btreemap, r=m-ou-se
m-ou-se Sep 1, 2021
8fd53e3
Rollup merge of #88053 - bjorn3:fix_flock_fallback_impl, r=cjgillot
m-ou-se Sep 1, 2021
494c563
Rollup merge of #88350 - programmerjake:add-ppc-cr-xer-clobbers, r=Am…
m-ou-se Sep 1, 2021
75b2ae5
Rollup merge of #88410 - camelid:fix-assoc-bold, r=GuillaumeGomez
m-ou-se Sep 1, 2021
bbc94ed
Rollup merge of #88525 - notriddle:notriddle/coherence-dyn-auto-trait…
m-ou-se Sep 1, 2021
59588a9
Rollup merge of #88542 - tavianator:readdir_r-errno, r=jyn514
m-ou-se Sep 1, 2021
f436b6d
Rollup merge of #88548 - inquisitivecrystal:intersperse, r=m-ou-se
m-ou-se Sep 1, 2021
d313529
Rollup merge of #88551 - inquisitivecrystal:unsafe_cell_raw_get, r=m-…
m-ou-se Sep 1, 2021
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
Next Next commit
Fix the flock fallback implementation
  • Loading branch information
bjorn3 authored Aug 15, 2021
commit 21f07b55df6e40191446db3414fc115f76c01580
4 changes: 4 additions & 0 deletions compiler/rustc_data_structures/src/flock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ cfg_if! {
let msg = "file locks not supported on this platform";
Err(io::Error::new(io::ErrorKind::Other, msg))
}

pub fn error_unsupported(_err: &io::Error) -> bool {
true
}
}
}
}