Skip to content

Sync rustc_codegen_cranelift #79476

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 61 commits into from
Nov 28, 2020
Merged
Changes from 4 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
285c7c6
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_c…
bjorn3 Nov 3, 2020
b8a9beb
Remove unnecessary -Ztrim-diagnostic-paths=no
bjorn3 Nov 3, 2020
81b673b
Rustup to rustc 1.49.0-nightly (338f939a8 2020-11-02)
bjorn3 Nov 3, 2020
a3a508a
Fix compiling with CARGO_TARGET_DIR
jyn514 Nov 4, 2020
1aaa024
Merge pull request #1108 from jyn514/cargo-target-dir
bjorn3 Nov 4, 2020
7e8b15e
Fix cranelift build
oli-obk Oct 29, 2020
0dcf78b
s/Scalar::Raw/Scalar::Int
oli-obk Nov 1, 2020
5fa1c8f
`u128` truncation and sign extension are not just interpreter related
oli-obk Nov 4, 2020
6e96e10
`u64::try_from` will now fail if `ScalarInt` isn't exactly 64 bits, t…
oli-obk Nov 4, 2020
d6a9dfa
run 'shellcheck -f diff $(fd --extension sh) | git apply'
jakobhellermann Nov 4, 2020
0f10f2a
manually fix some shellcheck warnings
jakobhellermann Nov 4, 2020
33a9044
make requested PR changes
jakobhellermann Nov 5, 2020
19931e2
Merge pull request #1109 from jakobhellermann/shellcheck
bjorn3 Nov 5, 2020
d6f457d
Fix even more URLs
GuillaumeGomez Nov 5, 2020
f7e11cb
inliner: Use substs_for_mir_body
tmiasko Nov 6, 2020
21a097f
fix shellcheck error of SC2148
sasurau4 Nov 3, 2020
07aef90
fix shellcheck error of SC2068
sasurau4 Nov 2, 2020
8a097f7
Rollup merge of #78666 - sasurau4:fix/shellcheck-error, r=jyn514
JohnTitor Nov 6, 2020
777c9da
Add rustup pull command
bjorn3 Nov 4, 2020
66e4f1b
Don't overwrite RUSTFLAGS for cargo.sh
bjorn3 Nov 4, 2020
9b66df4
Sync from rust dc06a36074f04c6a77b5834f2950011d49607898
bjorn3 Nov 6, 2020
509054d
Fix ICE
bjorn3 Nov 6, 2020
4da6785
Rustfmt
bjorn3 Nov 6, 2020
9e1ac29
Fix ICE (part 2)
bjorn3 Nov 6, 2020
11dd005
Sync from rust 0256d065d4901b63def6c04013da4f781d0752bb
bjorn3 Nov 7, 2020
e9c34b3
Collapse all uses of `target.options.foo` into `target.foo`
petrochenkov Nov 8, 2020
6210ee2
Set diff=rust git attribute for rust files
bjorn3 Nov 8, 2020
df45a06
Don't add .d and .rmeta files to the sysroot
bjorn3 Nov 8, 2020
cf3aa64
Better build dir layout
bjorn3 Nov 8, 2020
806538f
Rollup merge of #78674 - tmiasko:inline-substs-for-mir-body, r=oli-obk
Dylan-DPC Nov 9, 2020
1a32c54
Update Cranelift
bjorn3 Nov 9, 2020
4700926
Update dependencies
bjorn3 Nov 9, 2020
65ae469
Rollup merge of #78875 - petrochenkov:cleantarg, r=Mark-Simulacrum
jonas-schievink Nov 10, 2020
a5ec857
Changed unwrap_or to unwrap_or_else in some places.
Nicholas-Baron Nov 6, 2020
96c4542
Avoid muliplications by 1
bjorn3 Nov 12, 2020
6eaa502
Update Cranelift for SimpleJIT changes
bjorn3 Nov 12, 2020
7ab499f
use hardlinks instead of copying files
jakobhellermann Nov 12, 2020
0a4f37c
Merge pull request #1111 from jakobhellermann/hardlinks-instead-of-copy
bjorn3 Nov 12, 2020
db8fa0e
Inline codegen_mono_items and outline predefine_mono_items
bjorn3 Oct 11, 2020
4e547b9
Move some things from codegen_mono_item to trans_fn
bjorn3 Oct 11, 2020
753e6bc
Sync from rust f2a11a25378293e41cfcb00dbf67c524ffd79b39
bjorn3 Nov 13, 2020
7ec4471
Rustup to rustc 1.49.0-nightly (9722952f0 2020-11-12)
bjorn3 Nov 13, 2020
bf94b38
Rustfmt
bjorn3 Nov 13, 2020
c982c48
Use rpath to compile the cg_clif executable
bjorn3 Nov 13, 2020
ffd6fdd
Remove unnecessary paths from LD_LIBRARY_PATH
bjorn3 Nov 13, 2020
56e6380
update `cg_clif`
lcnr Oct 28, 2020
77e90f1
Sync from rust 539402cb0b0f1639a4be14e40eaf8db61a62ae41
bjorn3 Nov 21, 2020
c3179bc
Rustup to rustc 1.50.0-nightly (593fe977a 2020-11-20)
bjorn3 Nov 21, 2020
e4cc56d
Drop support for cloudabi targets
tesuji Oct 27, 2020
22c9623
Implement simd_reduce_{add,mul}_{,un}ordered
bjorn3 Nov 23, 2020
47ff2e0
Implement float simd comparisons
bjorn3 Nov 23, 2020
d2eeed4
Implement more simd_reduce_* intrinsics
bjorn3 Nov 23, 2020
e99f78a
Make simd_extract panic at runtime on non-const index again
bjorn3 Nov 23, 2020
41047de
Rustfmt
bjorn3 Nov 23, 2020
57739b5
Rename `optin_builtin_traits` to `auto_traits`
camelid Nov 23, 2020
b5f6c00
Auto merge of #79336 - camelid:rename-feature-oibit-to-auto, r=oli-obk
bors Nov 25, 2020
648cace
Use the new component dependency option of the rust-toolchain file
bjorn3 Nov 27, 2020
aef656a
Rustup to rustc 1.50.0-nightly (72da5a9d8 2020-11-26)
bjorn3 Nov 27, 2020
de4ce8c
Sync from rust c9228570668803e3e6402770d55f23a12c9ae686
bjorn3 Nov 27, 2020
5988bbd
Revert "Use the new component dependency option of the rust-toolchain…
bjorn3 Nov 27, 2020
477aa67
Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_…
bjorn3 Nov 27, 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
6 changes: 3 additions & 3 deletions build_sysroot/alloc_system/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
all(target_arch = "wasm32", not(target_os = "emscripten")),
feature(integer_atomics, stdsimd)
)]
#![cfg_attr(any(unix, target_os = "cloudabi", target_os = "redox"), feature(libc))]
#![cfg_attr(any(unix, target_os = "redox"), feature(libc))]
// The minimum alignment guaranteed by the architecture. This value is used to
// add fast paths for low alignment values.
#[cfg(all(any(target_arch = "x86",
Expand Down Expand Up @@ -69,7 +69,7 @@ const MIN_ALIGN: usize = 16;
/// independently of the standard library’s global allocator.
#[stable(feature = "alloc_system_type", since = "1.28.0")]
pub struct System;
#[cfg(any(windows, unix, target_os = "cloudabi", target_os = "redox"))]
#[cfg(any(windows, unix, target_os = "redox"))]
mod realloc_fallback {
use core::alloc::{GlobalAlloc, Layout};
use core::cmp;
Expand All @@ -89,7 +89,7 @@ mod realloc_fallback {
}
}
}
#[cfg(any(unix, target_os = "cloudabi", target_os = "redox"))]
#[cfg(any(unix, target_os = "redox"))]
mod platform {
extern crate libc;
use core::ptr;
Expand Down