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 12 pull requests #77372

Merged
merged 25 commits into from
Sep 30, 2020
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2ad46ac
EarlyOtherwiseBranch::run_pass(): don't convert Place to Place (clipp…
matthiaskrgr Sep 21, 2020
d7a5c57
use std::mem::take(x) instead of std::mem::replace(x, Default::defaul…
matthiaskrgr Sep 21, 2020
3e485d7
BTreeMap: keep an eye out on the size of the main components
ssomers Sep 26, 2020
37f7956
libary: Forward compiler-builtins "mem" feature
josephlr Sep 28, 2020
63bb51d
Add unstable book docs for `-Zunsound-mir-opts`
wesleywiser Sep 29, 2020
a2526b4
Use `rtassert!` instead of `assert!` from the child process after for…
Sep 29, 2020
9340ee4
Ensure that all LLVM components requested by tests are available on CI
petrochenkov Sep 27, 2020
2c38504
Add test for async/await combined with const-generics.
hameerabbasi Sep 29, 2020
b141e49
Fix typo in alloc vec comment
pickfire Sep 29, 2020
f9b625f
Alloc vec use imported path
pickfire Sep 29, 2020
f4d5275
Update books
ehuss Sep 29, 2020
93e3db3
liveness: Use Option::None to represent absent live nodes
tmiasko Sep 30, 2020
607d30d
Add test for issue #74761
samlich Sep 29, 2020
248d6bf
Rollup merge of #77037 - matthiaskrgr:cl42ppy, r=Dylan-DPC
jonas-schievink Sep 30, 2020
7ad03dd
Rollup merge of #77233 - ssomers:btree_size_matters, r=Mark-Simulacrum
jonas-schievink Sep 30, 2020
a4dc8da
Rollup merge of #77280 - petrochenkov:llvmcomp, r=Mark-Simulacrum
jonas-schievink Sep 30, 2020
87387fd
Rollup merge of #77284 - josephlr:mem, r=Mark-Simulacrum
jonas-schievink Sep 30, 2020
d4add19
Rollup merge of #77296 - tmiasko:liveness-option, r=ecstatic-morse
jonas-schievink Sep 30, 2020
b85081d
Rollup merge of #77322 - rust-lang:wesleywiser-patch-1, r=steveklabnik
jonas-schievink Sep 30, 2020
c46f578
Rollup merge of #77328 - hyd-dev:assert-to-rtassert, r=Amanieu
jonas-schievink Sep 30, 2020
4e51783
Rollup merge of #77331 - hameerabbasi:issue-74906, r=lcnr
jonas-schievink Sep 30, 2020
054ba3d
Rollup merge of #77338 - pickfire:patch-7, r=jyn514
jonas-schievink Sep 30, 2020
fea2ad8
Rollup merge of #77340 - pickfire:patch-9, r=kennytm
jonas-schievink Sep 30, 2020
4202c60
Rollup merge of #77345 - samlich:test-issue-74761, r=lcnr
jonas-schievink Sep 30, 2020
3624a90
Rollup merge of #77348 - ehuss:update-books, r=ehuss
jonas-schievink Sep 30, 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
libary: Forward compiler-builtins "mem" feature
This fixes rust-lang/wg-cargo-std-aware#53

Now users will be able to do:
```
cargo build -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
```
and correctly get the Rust implemenations for `memcpy` and friends.

Signed-off-by: Joe Richey <[email protected]>
josephlr committed Sep 28, 2020

Verified

This commit was signed with the committer’s verified signature.
josephlr Joe Richey
commit 37f795697c7d0530deb0c5c94a8f99aab587e2e4
1 change: 1 addition & 0 deletions library/std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -59,6 +59,7 @@ gimli-symbolize = []
panic-unwind = ["panic_unwind"]
profiler = ["profiler_builtins"]
compiler-builtins-c = ["alloc/compiler-builtins-c"]
compiler-builtins-mem = ["alloc/compiler-builtins-mem"]
llvm-libunwind = ["unwind/llvm-libunwind"]

# Make panics and failed asserts immediately abort without formatting any message
1 change: 1 addition & 0 deletions library/test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ proc_macro = { path = "../proc_macro" }
default = ["std_detect_file_io", "std_detect_dlsym_getauxval", "panic-unwind"]
backtrace = ["std/backtrace"]
compiler-builtins-c = ["std/compiler-builtins-c"]
compiler-builtins-mem = ["std/compiler-builtins-mem"]
llvm-libunwind = ["std/llvm-libunwind"]
panic-unwind = ["std/panic_unwind"]
panic_immediate_abort = ["std/panic_immediate_abort"]