Albert Larsan
4e47bd0464
Change src/test
to tests
in source files, fix tidy and tests
2023-01-11 09:32:13 +00:00
bjorn3
20429c00b2
Merge pull request #1338 from bjorn3/build_system_rework5
...
Avoid clobbering build_system/ and ~/.cargo/bin
2023-01-05 19:57:10 +01:00
bjorn3
e14e5c2af1
Don't use hyperfine during testing
...
A new command ./y.rs bench is introduced for benchmarking. This change
allows skipping hyperfine installation in ./y.rs prepare and thus avoids
writing to ~/.cargo/bin.
2023-01-05 18:14:59 +00:00
bjorn3
da37e16c23
Remove debuginfo files for compiled y.rs in clean_all.sh
2023-01-05 18:14:55 +00:00
bjorn3
4c97569a54
Move patched sysroot from build_sysroot/ to download/
2023-01-05 18:14:40 +00:00
bjorn3
571405deea
Enable some fixed rustc tests
...
cc #381
2023-01-04 15:30:20 +00:00
bjorn3
97e2213c3c
Enable inline stack probes on AArch64
...
Fixes #661
2022-12-22 14:03:02 +00:00
bjorn3
debd45cc7b
Update to cranelift 0.91
...
Closes #1307
2022-12-22 14:02:47 +00:00
bors
928d6566d7
Auto merge of #105613 - Nilstrieb:rename-assert_uninit_valid, r=RalfJung
...
Rename `assert_uninit_valid` intrinsic
It's not about "uninit" anymore but about "filling with 0x01 bytes" so the name should at least try to reflect that.
This is actually not fully correct though, as it does still panic for all uninit with `-Zstrict-init-checks`. I'm not sure what the best way is to deal with that not causing confusion. I guess we could just remove the flag? I don't think having it makes a lot of sense anymore with the direction that we have chose to go. It could be relevant again if #100423 lands so removing it may be a bit over eager.
r? `@RalfJung`
2022-12-21 23:20:04 +00:00
bjorn3
8b47801208
Don't ICE on C-cmse-nonsecure-call either
2022-12-16 15:45:07 +00:00
bjorn3
ee05e4d5ab
Don't ICE on unimplemented call convs
2022-12-16 15:41:52 +00:00
bjorn3
dffa6acf73
Fix crash after simd type validation error
...
Fixes part of #1319
2022-12-16 14:50:43 +00:00
bjorn3
1c724ee6d0
Re-enable some rustc tests
2022-12-16 13:29:26 +00:00
bjorn3
ab0e2aaed2
Revert "Don't PrintOnPanic on fatal errors"
...
This reverts commit b5ac64b4cf
.
It entirely breaks PrintOnPanic as ICE seems to be considered a fatal error too.
2022-12-16 13:00:36 +00:00
bjorn3
14ca1df478
Enable debug assertions on CI
...
Fixes #1314
2022-12-16 11:27:21 +00:00
bjorn3
91655428f9
Ensure Cranelift errors are reported deterministically
...
This may also have been the root cause of #1310 .
2022-12-16 10:04:49 +00:00
bjorn3
ec92c3e5dc
Fix ICE on incompatible declarations of entry symbol
...
Fixes #1313
2022-12-16 09:57:07 +00:00
bjorn3
b5ac64b4cf
Don't PrintOnPanic on fatal errors
2022-12-16 09:44:28 +00:00
bjorn3
9ca82a9a3d
Fix ICE on unsized locals
...
Fixes #1312
2022-12-16 09:41:36 +00:00
bjorn3
a501d96f33
Merge branch 'staging'
2022-12-15 18:44:27 +00:00
bjorn3
e735206f50
Unify Windows and non-Windows CI
2022-12-15 18:01:05 +00:00
bjorn3
280fb2935b
Start running regex-shootout-regex-dna on Windows again
2022-12-15 17:49:37 +00:00
bjorn3
1ca07b9a44
Fix running simple-raytracer benchmark on Windows
2022-12-15 17:28:48 +00:00
bjorn3
6c88b08adc
Fix some build steps on Windows
2022-12-15 17:28:21 +00:00
bjorn3
cc3ac006a2
Move many env vars from CI configuration to the build system
2022-12-15 14:16:53 +00:00
bjorn3
e082eebb5f
Run verifier checks during rustc tests too
...
Fixes #1219
2022-12-15 13:59:29 +00:00
bjorn3
d841f93855
Add .comment section with producer name
...
Fixes #1211
2022-12-15 13:57:13 +00:00
bjorn3
d74e5b6cc7
Update actions/upload-artifact to v3
...
v2 depends on Node.js 12 which will be removed from GHA in the near future
2022-12-15 12:22:57 +00:00
bjorn3
e2a2739341
Update not yet supported section of the readme
2022-12-15 12:20:39 +00:00
bjorn3
06be70e3d6
Implement simd_gather and simd_scatter ( #1309 )
...
These are the last remaining platform intrinsics necessary for portable-simd.
2022-12-15 13:09:37 +01:00
bjorn3
0865e5a452
Set RUSTDOCFLAGS again
...
Was accidentally removed in 808cba2
2022-12-15 11:41:06 +00:00
bjorn3
f626185a5b
Update portable-simd to 582239ac3b
2022-12-15 11:09:45 +00:00
bjorn3
808cba2251
Extract Compiler creation from tests.rs
2022-12-15 10:28:53 +00:00
bjorn3
b16dd916f0
Merge branch 'sync_from_rust'
2022-12-14 19:40:44 +01:00
bjorn3
98a276b589
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
2022-12-14 19:30:46 +01:00
bjorn3
2bb3996244
Remove unnecessary git init
2022-12-14 15:23:24 +00:00
bjorn3
a45924cc21
Explicitly provide dummy git author name and email
...
This avoids the need to tell git beforehand about your name and email
2022-12-14 15:22:56 +00:00
bjorn3
08ba5d4e80
Remove a couple of module.isa() calls
2022-12-14 12:25:53 +00:00
bjorn3
6e772b86a8
Rustup to rustc 1.68.0-nightly ( 37d7de337
2022-12-12)
2022-12-13 18:23:52 +01:00
bjorn3
e3d70e266b
Sync from rust ed620cf969
2022-12-13 18:18:47 +01:00
Nilstrieb
67b711af7f
Rename assert_uninit_valid
intrinsic
...
It's not about "uninit" anymore but about "filling with 0x01 bytes" so
the name should at least try to reflect that.
2022-12-13 18:08:35 +01:00
Michael Goulet
f7c76ad662
bug! with a better error message for failing Instance::resolve
2022-12-11 19:48:24 +00:00
bjorn3
7e10f1a0f4
Update dependencies
2022-12-11 12:44:41 +00:00
bjorn3
a89cef5a0a
Update rustc test suite failure list
2022-12-11 11:14:26 +00:00
bjorn3
21f43556ac
Fix for "Support Option and similar enums as type of static variable with linkage attribute"
...
cc rust-lang/rust#104799
2022-12-11 10:56:54 +00:00
bjorn3
ef1cb95687
Rustup to rustc 1.68.0-nightly ( c6fcdb690
2022-12-10)
2022-12-11 11:10:14 +01:00
bjorn3
8f9a048138
Sync from rust b3ddfeb5a8
2022-12-11 11:05:00 +01:00
Jules Bertholet
20d6292596
Use rint instead of roundeven
...
Use rint intrinsic instead of roundeven to impement `round_ties_even`. They do the same thing when rounding mode is default, which Rust assumes.
And `rint` has better platform support.
Keeps `roundeven` around in `core::intrinsics`, it's doing no harm there.
2022-12-11 01:20:18 -05:00
Jules Bertholet
36cd4fab22
Add round_ties_even
to f32
and f64
2022-12-11 01:20:17 -05:00
Jakob Degen
34336b8d94
Remove unneeded field from SwitchTargets
2022-12-09 04:53:10 -08:00