8000 Rollup of 12 pull requests by jonas-schievink · Pull Request #78328 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 12 pull requests #78328

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

Closed
wants to merge 56 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
16d65d0
revise Hermit's mutex interface to support the behaviour of StaticMutex
stlankes Oct 6, 2020
98fcc3f
using the latest version of libhermit-rs
stlankes Oct 6, 2020
d560b50
revise code to pass the format check
stlankes Oct 6, 2020
986c1fc
revise comments and descriptions of the helper functions
stlankes Oct 7, 2020
d6e955f
fix typos in new method
stlankes Oct 9, 2020
530f575
revise code to pass the format check
stlankes Oct 9, 2020
8d8a290
add hermit to the list of omit OS
stlankes Oct 9, 2020
33fd08b
remove obsolete function diverge
stlankes Oct 12, 2020
30c3dad
reuse implementation of the system provider "unsupported"
stlankes Oct 12, 2020
1741e5b
define required type 'MovableMutex'
stlankes Oct 12, 2020
bc6b2ac
move __rg_oom to the libos to avoid duplicated symbols
stlankes Oct 13, 2020
77d9831
minor changes to pass the format check
stlankes Oct 13, 2020
bf268fe
box mutex to get a movable mutex
stlankes Oct 13, 2020
3b37d94
Add some tests
Nadrieril Oct 17, 2020
bb81110
Destructure byte array constants to array patterns instead of keeping…
oli-obk Sep 29, 2020
c3d0445
Destructure byte slices and remove all the workarounds
oli-obk Oct 1, 2020
99852e0
A ConstantValue constructor with a slice pattern is an error
Nadrieril Oct 17, 2020
3708c86
Treat booleans as integers with valid range 0..=1
oli-obk Oct 2, 2020
f504e9a
Fix comment
Nadrieril Oct 17, 2020
aa41720
Handle ranges of float consistently
Nadrieril Oct 17, 2020
d1a784e
Treat string literals separately from other constants
Nadrieril Oct 17, 2020
da0ba2f
The only remaining constant patterns are opaque
Nadrieril Oct 18, 2020
c4ae6c2
Add comment
Nadrieril Oct 18, 2020
2780e35
Throw core::panic!("message") as &str instead of String.
m-ou-se Oct 19, 2020
9890217
Fix ui test for updated core::panic behaviour.
m-ou-se Oct 19, 2020
5bfd3e7
Accidentally fixed #78071
Nadrieril Oct 19, 2020
a4dc92b
Introduce a temporary for discriminant value in MatchBranchSimplifica…
tmiasko Oct 21, 2020
3519411
Add a test for #53708
Nadrieril Oct 21, 2020
faf8710
Explain the `Opaque` special case in specialization
Nadrieril Oct 21, 2020
3a58ad9
Update `compiler_builtins` to 0.1.36
JohnTitor Oct 21, 2020
4f7ffbf
Fix const core::panic!(non_literal_str).
m-ou-se Sep 5, 2020
7130127
Add test for const panic!(CONST).
m-ou-se Oct 18, 2020
0a4d948
Remove unused ProfileCategory.
cjgillot Jun 7, 2020
de76370
Remove unused category from macros.
cjgillot Oct 11, 2020
de7da7f
Unify query name and node name.
cjgillot Oct 11, 2020
e853cc0
Retire rustc_dep_node_force.
cjgillot Oct 11, 2020
57ba8ed
Retire rustc_dep_node_try_load_from_on_disk_cache.
cjgillot Oct 11, 2020
6ad140c
const_eval_checked: deal with unused nodes + div
lcnr Oct 23, 2020
7d30c53
Bump backtrace-rs to enable Mach-O support on iOS.
cutsoy Oct 23, 2020
47cb871
review
lcnr Oct 23, 2020
b334eef
Do not ICE with TraitPredicates containing [type error]
estebank Oct 14, 2020
f71e9ed
review comments
estebank Oct 23, 2020
6533d01
Don't generate multiple impl blocks
bugadani Oct 24, 2020
3e6acd8
Add `#[cfg(panic = "...")]`
davidhewitt Jul 25, 2020
61a37a3
Rollup merge of #74754 - davidhewitt:cfg-panic, r=ecstatic-morse
jonas-schievink Oct 24, 2020
16ba40e
Rollup merge of #77610 - hermitcore:dtors, r=m-ou-se
jonas-schievink Oct 24, 2020
d7ecead
Rollup merge of #77830 - cjgillot:remacro, r=oli-obk
jonas-schievink Oct 24, 2020
c816628
Rollup merge of #77930 - estebank:ice-77919, r=eddyb
jonas-schievink Oct 24, 2020
268d0f4
Rollup merge of #78069 - fusion-engineering-forks:core-const-panic-st…
jonas-schievink Oct 24, 2020
280cb9d
Rollup merge of #78072 - Nadrieril:cleanup-constant-matching, r=varkor
jonas-schievink Oct 24, 2020
1fdd40e
Rollup merge of #78119 - fusion-engineering-forks:panic-use-as-str, r…
jonas-schievink Oct 24, 2020
9a1fc6a
Rollup merge of #78191 - tmiasko:temp-match-branch-simplification, r=…
jonas-schievink Oct 24, 2020
b7cb948
Rollup merge of #78209 - JohnTitor:compiler-builtins, r=Amanieu
jonas-schievink Oct 24, 2020
d4e112e
Rollup merge of #78272 - lcnr:abstract-const-unused-node, r=oli-obk
jonas-schievink Oct 24, 2020
e13f2fb
Rollup merge of #78276 - cutsoy:bump-backtrace, r=nagisa
jonas-schievink Oct 24, 2020
fd038b5
Rollup merge of #78318 - bugadani:tyctx-impl, r=petrochenkov
jonas-schievink Oct 24, 2020
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
box mutex to get a movable mutex
the commit avoid an alignement issue in Mutex implementation
  • Loading branch information
stlankes committed Oct 13, 2020
commit bf268fe928eae8d85a868ccdbcc086ea033ae51c
2 changes: 1 addition & 1 deletion library/std/src/sys/hermit/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ pub struct Mutex {
inner: Spinlock<MutexInner>,
}

pub type MovableMutex = Mutex;
pub type MovableMutex = Box<Mutex>;

unsafe impl Send for Mutex {}
unsafe impl Sync for Mutex {}
Expand Down
0