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

Sync rustc_codegen_cranelift #115616

Merged
merged 24 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
621be60
feat: `riscv-interrupt-{m,s}` calling conventions
sethp May 23, 2023
b107241
rustc: Move `crate_types` from `Session` to `GlobalCtxt`
petrochenkov Aug 8, 2023
59cabd7
Merge commit '8f9ac9c22d6594cf059d8e6c71d414cc5ccd7975' into sync_cg_…
bjorn3 Aug 9, 2023
06ed138
Merge branch 'sync_from_rust'
bjorn3 Aug 9, 2023
0777ae6
Auto merge of #114673 - matthiaskrgr:rollup-9kroqpp, r=matthiaskrgr
bors Aug 9, 2023
b705d2d
Rollup merge of #114622 - petrochenkov:noplugin, r=oli-obk
compiler-errors Aug 11, 2023
c4948dc
Upgrade Object and related deps
Dirreke Aug 14, 2023
9ef3a4f
Update Cargo.lock
Dirreke Aug 14, 2023
0b28355
reverse change in rustc_codegen_cranelift
Dirreke Aug 14, 2023
8c6590a
reverse change in rustc_codegen_cranelift
Dirreke Aug 14, 2023
9aa5fbf
Fix shell helpers in usage docs
bjorn3 Aug 18, 2023
18658cb
give some unwind-related terminators a more clear name
RalfJung Aug 19, 2023
3f4145e
when terminating during unwinding, show the reason why
RalfJung Aug 21, 2023
25a2ba2
Use `preserve_mostcc` for `extern "rust-cold"`
scottmcm Aug 27, 2023
b88dfcf
Don't ICE on layout computation failure
atsuzaki Aug 28, 2023
8335927
const_eval and codegen: audit uses of is_zst
RalfJung Aug 27, 2023
65d75fd
Rollup merge of #111580 - atsuzaki:layout-ice, r=oli-obk
matthiaskrgr Aug 29, 2023
8324228
Sync from rust 2f5df8a94bb3c5fae4e3fcbfc8ef20f1f976cb19
bjorn3 Sep 1, 2023
a756bae
Rustup to rustc 1.74.0-nightly (2f5df8a94 2023-08-31)
bjorn3 Sep 1, 2023
0559de6
Fix rustc test suite
bjorn3 Sep 1, 2023
61a0b77
Use relative positions inside a SourceFile.
cjgillot Sep 3, 2023
5920ae5
Sync from rust a991861ec9fd8aedffbe5744a8852c7c64dd40b2
bjorn3 Sep 6, 2023
dda103b
Rustup to rustc 1.74.0-nightly (a991861ec 2023-09-05)
bjorn3 Sep 6, 2023
521ed6e
Merge commit 'dda103b1e33c4902deca8bccf614991ada781fa6' into sync_cg_…
bjorn3 Sep 6, 2023
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
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_cranelift/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ These are a few functions that allow you to easily run rust code from the shell

```bash
function jit_naked() {
echo "$@" | $cg_clif_dir/dist/rustc-clif - -Zunstable-features -Cllvm-args=mode=jit -Cprefer-dynamic
echo "$@" | $cg_clif_dir/dist/rustc-clif - -Zunstable-options -Cllvm-args=mode=jit-lazy -Cprefer-dynamic
}

function jit() {
Expand Down
12 changes: 6 additions & 6 deletions compiler/rustc_codegen_cranelift/patches/stdlib-lock.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ version = 3

[[package]]
name = "addr2line"
version = "0.20.0"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3"
checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
dependencies = [
"compiler_builtins",
"gimli",
Expand Down Expand Up @@ -140,9 +140,9 @@ dependencies = [

[[package]]
name = "gimli"
version = "0.27.2"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4"
checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-alloc",
Expand Down Expand Up @@ -205,9 +205,9 @@ dependencies = [

[[package]]
name = "object"
version = "0.31.1"
version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1"
checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe"
dependencies = [
"compiler_builtins",
"memchr",
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_cranelift/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-08-08"
channel = "nightly-2023-09-06"
components = ["rust-src", "rustc-dev", "llvm-tools"]
2 changes: 2 additions & 0 deletions compiler/rustc_codegen_cranelift/scripts/test_rustc_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ rm tests/ui/proc-macro/quote-debug.rs
rm tests/ui/proc-macro/no-missing-docs.rs
rm tests/ui/rust-2018/proc-macro-crate-in-paths.rs
rm tests/ui/proc-macro/allowed-signatures.rs
rm tests/ui/proc-macro/no-mangle-in-proc-macro-issue-111888.rs

# vendor intrinsics
rm tests/ui/sse2.rs # cpuid not supported, so sse2 not detected
Expand Down Expand Up @@ -114,6 +115,7 @@ rm tests/ui/mir/mir_misc_casts.rs # depends on deduplication of constants
rm tests/ui/mir/mir_raw_fat_ptr.rs # same
rm tests/ui/consts/issue-33537.rs # same
rm tests/ui/layout/valid_range_oob.rs # different ICE message
rm tests/ui/const-generics/generic_const_exprs/issue-80742.rs # gives error instead of ICE with cg_clif

rm tests/ui/consts/issue-miri-1910.rs # different error message
rm tests/ui/consts/offset_ub.rs # same
Expand Down
Loading