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 6 pull requests #116566

Closed
wants to merge 99 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
9f562f2
Remove special handling in codegen for some SSE2 "storeu" intrinsics
eduardosm Sep 5, 2023
4cd5177
Remove special handling in codegen for some AVX and SSE2 shift by imm…
eduardosm Sep 5, 2023
f2211c5
Merge commit 'dda103b1e33c4902deca8bccf614991ada781fa6' into sync_cg_…
bjorn3 Sep 6, 2023
d4f12a5
Auto merge of #115580 - eduardosm:stdarch-intrinsics, r=davidtwco,bjorn3
bors Sep 6, 2023
6285086
Auto merge of #115616 - bjorn3:sync_cg_clif-2023-09-06, r=bjorn3
bors Sep 7, 2023
4ecfd30
Use `Freeze` for `SourceFile.lines`
Zoxc Aug 31, 2023
28f12f0
Merge branch 'sync_from_rust'
bjorn3 Sep 7, 2023
5ae94e9
Rustup to rustc 1.74.0-nightly (e3abbd499 2023-09-06)
bjorn3 Sep 7, 2023
d72f710
Update steps to testing rustc changes for upstream changes
bjorn3 Sep 7, 2023
c41e779
Auto merge of #115418 - Zoxc:freeze-source, r=oli-obk
bors Sep 8, 2023
4f6e9fd
Remove `verbose_generic_activity_with_arg`
Zoxc Sep 10, 2023
72fb4b8
add helper method for finding the one non-1-ZST field
RalfJung Sep 12, 2023
8e6f68b
make the eval() functions on our const types return the resulting value
RalfJung Sep 12, 2023
9475cdb
Rollup merge of #115736 - Zoxc:time-cleanup, r=wesleywiser
matthiaskrgr Sep 13, 2023
1956fb8
Rollup merge of #115798 - RalfJung:non_1zst_field, r=wesleywiser
matthiaskrgr Sep 13, 2023
d1ea699
use AllocId instead of Allocation in ConstValue::ByRef
RalfJung Sep 11, 2023
a5b81fa
cleanup op_to_const a bit; rename ConstValue::ByRef → Indirect
RalfJung Sep 12, 2023
90d894e
make it more clear which functions create fresh AllocId
RalfJung Sep 12, 2023
214d474
Sync from rust 8142a319ed5c1d1f96e5a1881a6546e463b77c8f
bjorn3 Sep 14, 2023
b67a1c4
Rustup to rustc 1.74.0-nightly (8142a319e 2023-09-13)
bjorn3 Sep 14, 2023
aab17cc
Fix rustc test suite
bjorn3 Sep 14, 2023
d8c1393
Avoid mir_operand_get_const_val for simd_shuffle and cmpps and cmppd
bjorn3 Sep 14, 2023
02e5f38
Add debug tracing for failed commands
bjorn3 Sep 7, 2023
e048674
organize import sections with rustfmt `group_imports`
onur-ozkan Sep 14, 2023
5c7a87c
Merge pull request #1393 from onur-ozkan/rustfmt-group-imports
bjorn3 Sep 14, 2023
3113fef
move required_consts check to general post-mono-check function
RalfJung Sep 11, 2023
b7cc765
don't point at const usage site for resolution-time errors
RalfJung Sep 11, 2023
89f0d18
clarify PassMode::Indirect as well
RalfJung Sep 8, 2023
f9f8bff
fix gcc, cranelift build
RalfJung Sep 9, 2023
fbb276e
Update some dependencies
bjorn3 Sep 16, 2023
6fd5dc8
Prototype using const generic for simd_shuffle IDX array
oli-obk Sep 18, 2023
46b55ae
Auto merge of #115748 - RalfJung:post-mono, r=oli-obk
bors Sep 18, 2023
247d38d
move ConstValue into mir
RalfJung Sep 16, 2023
5f3b867
Sync from rust 65ea825f4021eaf77f1b25139969712d65b435a4
bjorn3 Sep 19, 2023
baee5ce
Rustup to rustc 1.74.0-nightly (65ea825f4 2023-09-18)
bjorn3 Sep 19, 2023
9b855a9
Add missing with_no_trimmed_paths to CommentWriter::new()
bjorn3 Sep 19, 2023
dd48b5e
adjust constValue::Slice to work for arbitrary slice types
RalfJung Sep 15, 2023
0e02cab
rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const
RalfJung Sep 20, 2023
1351de3
Rollup merge of #115972 - RalfJung:const-consistency, r=oli-obk
GuillaumeGomez Sep 21, 2023
02dec62
Update to Cranelift 0.100
bjorn3 Sep 21, 2023
8071ec7
Always explicitly set the preserve_frame_pointers value
bjorn3 Sep 20, 2023
159293c
subst -> instantiate
lcnr Sep 25, 2023
b03d0b8
Sync from rust 0288f2e1955b154262e0669ec5f7bb9a4c6cf5aa
bjorn3 Sep 26, 2023
74e9f26
Rustup to rustc 1.74.0-nightly (0288f2e19 2023-09-25)
bjorn3 Sep 26, 2023
ca18301
Fix rustc test suite
bjorn3 Sep 26, 2023
cb55ce1
Fix potential crash on large constant ZST slice
bjorn3 Sep 26, 2023
17d7821
Strip `OpaqueCast` during `RevealAll`.
oli-obk Sep 27, 2023
809cd20
Skip reinterning if nothing changed
oli-obk Sep 27, 2023
81d219a
Auto merge of #115933 - oli-obk:simd_shuffle_const, r=workingjubilee
bors Sep 30, 2023
ffa2d3a
dont call mir.post_mono_checks in codegen
RalfJung Sep 29, 2023
2860a89
implement major change tracking for the bootstrap configuration
onur-ozkan Oct 1, 2023
f04620a
Auto merge of #115898 - onur-ozkan:config-change-tracking, r=Mark-Sim…
bors Oct 2, 2023
aeeed8a
Sync from rust e0d7ed1f453fb54578cc96dfea859b0e7be15016
bjorn3 Oct 2, 2023
5aeae05
Rustup to rustc 1.75.0-nightly (e0d7ed1f4 2023-10-01)
bjorn3 Oct 2, 2023
654bc61
Fix simd_shuffle_generic intrinsic
bjorn3 Oct 2, 2023
b49adfe
Compile cg_clif with -Zallow-features=rustc_private
bjorn3 Sep 2, 2023
cf36f4e
Update rand test
bjorn3 Sep 19, 2023
c974bc8
Update regex and implement necessary AArch64 vendor intrinsics
bjorn3 Sep 19, 2023
9536ec3
Temporarily ignore regex test which gets miscompiled when using an LL…
bjorn3 Oct 2, 2023
f1ede97
Update portable-simd test and implement new simd_* platform intrinsics
bjorn3 Oct 2, 2023
4e9e0aa
subtyping_projections
ouz-a Aug 16, 2023
8c3406f
Add docs, remove code, change subtyper code
ouz-a Aug 28, 2023
646d8d9
change is_subtype to relate_types
ouz-a Sep 30, 2023
27f88ee
have better explanation for `relate_types`
ouz-a Oct 2, 2023
673f447
Auto merge of #115025 - ouz-a:ouz_testing, r=lcnr
bors Oct 3, 2023
f61b14d
Fix misuses of a vs an
cuishuang Sep 28, 2023
ed90087
Rollup merge of #116223 - catandcoder:master, r=cjgillot
workingjubilee Oct 5, 2023
a47b9fd
Remove stub support for 32bit inline assembly
bjorn3 Oct 5, 2023
b1421de
Support inline asm on AArch64
bjorn3 Oct 5, 2023
4577c1d
Temporarily remove riscv64 inline asm support
bjorn3 Oct 5, 2023
e825497
Merge pull request #1396 from bjorn3/aarch64_asm
bjorn3 Oct 5, 2023
2753052
compiler: always use var_os("RUST_BACKTRACE")
tamird Oct 6, 2023
c9f6ac4
Rollup merge of #116277 - RalfJung:post-mono, r=oli-obk
workingjubilee Oct 6, 2023
e759603
Consistently use eprintln inside the build system
bjorn3 Oct 7, 2023
fea943d
Auto merge of #116487 - tamird:avoid-unwrap-absolute, r=bjorn3
bors Oct 8, 2023
1906ec5
Sync from rust 97c81e1b537088f1881c8894ee8579812ed9b6d1
bjorn3 Oct 8, 2023
8109344
Rustup to rustc 1.75.0-nightly (97c81e1b5 2023-10-07)
bjorn3 Oct 8, 2023
07147f3
Fix inline asm on macOS
bjorn3 Oct 7, 2023
91e5bd8
Skip cpuid shim when inline asm support is enabled
bjorn3 Oct 7, 2023
2672876
Run inline asm rustc tests on CI
bjorn3 Oct 7, 2023
5be0b22
improve the suggestion of generic_bound_failure
aliemjay Sep 8, 2023
996ffcb
always show and explain sub region
aliemjay Sep 17, 2023
a883063
remove trailing dots
aliemjay Oct 8, 2023
cc5db2c
Merge pull request #1397 from bjorn3/inline_asm_tweaks
bjorn3 Oct 8, 2023
23a3b9e
Fix suggestion span involving wrongly placed generic arg on enum vari…
gurry Oct 9, 2023
40ebcb7
Add a ui test with an assertion that has a really long condition.
nnethercote Oct 9, 2023
a6abc50
Don't `escape_debug` the condition of `assert!`.
nnethercote Oct 9, 2023
47ebffa
Simplify some mir passes by using let chains
DaniPopes Oct 9, 2023
88198c7
Sync from rust bf9a1c8a193fc373897196321215794c8bebbeec
bjorn3 Oct 9, 2023
81dc066
Rustup to rustc 1.75.0-nightly (bf9a1c8a1 2023-10-08)
bjorn3 Oct 9, 2023
169055f
Merge commit '81dc066758ec150b43822d4a0c84aae20fe10f40' into sync_cg_…
bjorn3 Oct 9, 2023
3ed3765
Remove no longer used dependency from the list of allowed dependencies
bjorn3 Oct 9, 2023
2e000eb
add test
ouz-a Oct 9, 2023
0125528
Rollup merge of #115882 - aliemjay:diag-name-region-1, r=compiler-errors
matthiaskrgr Oct 9, 2023
32682fe
Rollup merge of #116537 - gurry:116473-ice-sugg-overlap, r=compiler-e…
matthiaskrgr Oct 9, 2023
8c78034
Rollup merge of #116548 - nnethercote:assert-long-condition, r=matthe…
matthiaskrgr Oct 9, 2023
e832c5e
Rollup merge of #116549 - DaniPopes:miropts-let-chains, r=oli-obk
matthiaskrgr Oct 9, 2023
36091c5
Rollup merge of #116556 - bjorn3:sync_cg_clif-2023-10-09, r=bjorn3
matthiaskrgr Oct 9, 2023
8973f0e
Rollup merge of #116561 - ouz-a:testfor_115517, r=compiler-errors
matthiaskrgr Oct 9, 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
Prev Previous commit
Next Next commit
Add debug tracing for failed commands
  • Loading branch information
bjorn3 committed Sep 14, 2023
commit 02e5f387fad115d172ef09697faffd8a4b90b29f
5 changes: 4 additions & 1 deletion build_system/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ pub(crate) fn try_hard_link(src: impl AsRef<Path>, dst: impl AsRef<Path>) {

#[track_caller]
pub(crate) fn spawn_and_wait(mut cmd: Command) {
if !cmd.spawn().unwrap().wait().unwrap().success() {
let status = cmd.spawn().unwrap().wait().unwrap();
if !status.success() {
eprintln!("{cmd:?} exited with status {:?}", status);
process::exit(1);
}
}
Expand Down Expand Up @@ -233,6 +235,7 @@ pub(crate) fn spawn_and_wait_with_input(mut cmd: Command, input: String) -> Stri

let output = child.wait_with_output().expect("Failed to read stdout");
if !output.status.success() {
eprintln!("{cmd:?} exited with status {:?}", output.status);
process::exit(1);
}

Expand Down