-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #82808 - bjorn3:sync_cg_clif-2021-03-05, r=bjorn3
Sync rustc_codegen_cranelift The main highlight of this sync is removal of support for the old x86 Cranelift backend. This made it possible to use native atomic instructions rather than hackishly using a global mutex. 128bit integer support has also seen a few bugfixes and performance improvements. And finally I have formatted everything using the same rustfmt config as the rest of this repo. r? ````@ghost```` ````@rustbot```` label +A-codegen +A-cranelift +T-compiler
- Loading branch information
Showing
73 changed files
with
1,143 additions
and
2,594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
task: | ||
name: freebsd | ||
freebsd_instance: | ||
image: freebsd-12-1-release-amd64 | ||
setup_rust_script: | ||
- pkg install -y curl git bash | ||
- curl https://sh.rustup.rs -sSf --output rustup.sh | ||
- sh rustup.sh --default-toolchain none -y --profile=minimal | ||
cargo_bin_cache: | ||
folder: ~/.cargo/bin | ||
target_cache: | ||
folder: target | ||
prepare_script: | ||
- . $HOME/.cargo/env | ||
- git config --global user.email "user@example.com" | ||
- git config --global user.name "User" | ||
- ./prepare.sh | ||
test_script: | ||
- . $HOME/.cargo/env | ||
- # Enable backtraces for easier debugging | ||
- export RUST_BACKTRACE=1 | ||
- # Reduce amount of benchmark runs as they are slow | ||
- export COMPILE_RUNS=2 | ||
- export RUN_RUNS=2 | ||
- ./test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.