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 #89092

Merged
merged 59 commits into from
Sep 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
d220159
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_…
bjorn3 Aug 6, 2021
e48b2fa
Merge branch 'sync_from_rust'
bjorn3 Aug 6, 2021
e1b6dc0
Rustup to rustc 1.56.0-nightly (5ad7389bd 2021-08-06)
bjorn3 Aug 7, 2021
98f45af
Update Cranelift
bjorn3 Aug 7, 2021
c11d8f5
Add warning to the jit mode section of the usage docs
bjorn3 Aug 9, 2021
1da5054
Use the object crate for archive reading during archive building
bjorn3 Aug 7, 2021
6681694
Avoid converting filenames into strings where possible
bjorn3 Aug 7, 2021
d498e6d
Avoid an unnecessary allocation
bjorn3 Aug 7, 2021
74b1768
Implement `black_box` using intrinsic
nbdd0121 Aug 10, 2021
1bfa59a
Update rustc_codegen_cratelift for working_dir change
Aaron1011 Aug 12, 2021
03ed8c8
Fold `vtable_trait_upcasting_coercion_new_vptr_slot` logic into oblig…
crlf0710 Aug 18, 2021
8b8ab5f
remove box_syntax uses from cranelift and tools
hellow554 Aug 6, 2021
7a781a5
Sync from rust 9ccf661694423895b02e513c69e6ad263b2f3d8e
bjorn3 Aug 20, 2021
edadc29
Rustup to rustc 1.56.0-nightly (6d64f7f69 2021-08-19)
bjorn3 Aug 20, 2021
3b22c3a
Remove unnecessary bailout in clif_pair_type_from_ty
bjorn3 Aug 20, 2021
d29e048
Revert "Remove unnecessary bailout in clif_pair_type_from_ty"
bjorn3 Aug 20, 2021
a929c95
Add more architectures to with_object
bjorn3 Aug 20, 2021
d8308ec
Move Object creation into metadata.rs
bjorn3 Aug 20, 2021
1461751
Make {Debug,Unwind}Context::emit non-generic
bjorn3 Aug 20, 2021
47e4a62
Move all code out of backend.rs
bjorn3 Aug 20, 2021
21fff2c
Auto merge of #88135 - crlf0710:trait_upcasting_part_3, r=nikomatsakis
bors Aug 21, 2021
f865bbb
Sync from rust 9863bf51a52b8e61bcad312f81b5193d53099f9f
bjorn3 Aug 25, 2021
92f4887
Rustup to rustc 1.56.0-nightly (b03ccace5 2021-08-24)
bjorn3 Aug 25, 2021
d1f1641
Update patches/0027-sysroot-128bit-atomic-operations.patch
bjorn3 Aug 25, 2021
9f5b520
Filter out tests marked with needs-asm-support
bjorn3 Aug 25, 2021
e0ea466
make unevaluated const substs optional
lcnr Mar 15, 2021
7753eda
Path remapping: Make behavior of diagnostics output dependent on pres…
michaelwoerister Aug 26, 2021
d9f0448
rustc_target: add lifetime parameter to `LayoutOf`.
eddyb Aug 25, 2021
6f5c9b9
Enable some warnings
bjorn3 Aug 27, 2021
e9eac6b
Remove unnecessary feature gates
bjorn3 Aug 27, 2021
39e16da
rustc_target: `TyAndLayout::field` should never error.
eddyb Aug 25, 2021
0ff530e
Sync from rust 3ed6c1d23fd40f4367259a531465e809eb00ec27
bjorn3 Sep 1, 2021
0b00772
Rustup to rustc 1.56.0-nightly (29ef6cf16 2021-08-31)
bjorn3 Sep 1, 2021
677c786
Move add_rlib and add_native_library to cg_ssa
bjorn3 Sep 1, 2021
66ccff1
Update protable-simd
bjorn3 Sep 1, 2021
33b62ae
Disable protable-simd tests
bjorn3 Sep 1, 2021
ddaa745
Update clean_all.sh for the rename of stdsimd to portable-simd
bjorn3 Sep 1, 2021
b710c0d
rustc_target: move `LayoutOf` to `ty::layout`.
eddyb Aug 30, 2021
6a9c9b0
ty::layout: implement `layout_of` automatically as a default method.
eddyb Aug 30, 2021
dc6c4de
ty::layout: split `LayoutOf` into required and (blanket) provided hal…
eddyb Aug 30, 2021
e604975
Use in_incr_comp_dir_sess in cg_clif
bjorn3 Aug 30, 2021
e7e9303
Auto merge of #88363 - michaelwoerister:remapped-diagnostics, r=estebank
bors Sep 3, 2021
771c2c6
Auto merge of #88559 - bjorn3:archive_logic_dedup, r=cjgillot
bors Sep 5, 2021
0167838
Auto merge of #88499 - eddyb:layout-off, r=nagisa
bors Sep 5, 2021
8cc1012
Move monomorphize code to its own crate.
cjgillot Jan 2, 2021
9ad50a4
Move the dataflow framework to its own crate.
cjgillot Jan 5, 2021
95f0688
Sync from rust 73641cd23ba470c6b4dcd72b8d5f62d27c735254
bjorn3 Sep 7, 2021
0a8787f
Rustup to rustc 1.57.0-nightly (1698e3cac 2021-09-06)
bjorn3 Sep 7, 2021
8a28d7a
Add portable-simd to .gitignore
bjorn3 Sep 7, 2021
7736e0a
Avoid unnecessary duplicate metadata encoding
bjorn3 Sep 8, 2021
a81217c
Make `abi::Abi` `Copy` and remove a *lot* of refs
bonega Aug 29, 2021
94ad37c
Sync from rust c7dbe7a830100c70d59994fd940bf75bb6e39b39
bjorn3 Sep 12, 2021
d480d9e
Rustup to rustc 1.57.0-nightly (8c2b6ea37 2021-09-11)
bjorn3 Sep 12, 2021
4560603
Re-enable portable simd testing
bjorn3 Sep 12, 2021
4ac4980
Introduce NullOp::AlignOf
nbdd0121 Sep 7, 2021
02d3c13
Auto merge of #88839 - nbdd0121:alignof, r=nagisa
bors Sep 12, 2021
f12c51f
Sync from rust 7a3d1a5f3dfeaf5177885fedd7db8ecc70670dc1
bjorn3 Sep 19, 2021
61667de
Rustup to rustc 1.57.0-nightly (aa8f2d432 2021-09-18)
bjorn3 Sep 19, 2021
86f9bcf
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_…
bjorn3 Sep 19, 2021
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/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ perf.data.old
/rand
/regex
/simple-raytracer
/stdsimd
/portable-simd
40 changes: 20 additions & 20 deletions compiler/rustc_codegen_cranelift/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"

[[package]]
name = "cranelift-bforest"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"
dependencies = [
"cranelift-entity",
]

[[package]]
name = "cranelift-codegen"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"
dependencies = [
"cranelift-bforest",
"cranelift-codegen-meta",
Expand All @@ -57,27 +57,27 @@ dependencies = [

[[package]]
name = "cranelift-codegen-meta"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"
dependencies = [
"cranelift-codegen-shared",
"cranelift-entity",
]

[[package]]
name = "cranelift-codegen-shared"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"

[[package]]
name = "cranelift-entity"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"

[[package]]
name = "cranelift-frontend"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"
dependencies = [
"cranelift-codegen",
"log",
Expand All @@ -87,8 +87,8 @@ dependencies = [

[[package]]
name = "cranelift-jit"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"
dependencies = [
"anyhow",
"cranelift-codegen",
Expand All @@ -104,8 +104,8 @@ dependencies = [

[[package]]
name = "cranelift-module"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"
dependencies = [
"anyhow",
"cranelift-codegen",
Expand All @@ -115,8 +115,8 @@ dependencies = [

[[package]]
name = "cranelift-native"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"
dependencies = [
"cranelift-codegen",
"libc",
Expand All @@ -125,8 +125,8 @@ dependencies = [

[[package]]
name = "cranelift-object"
version = "0.75.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#5deda279775dca5e37449c829cda1f6276d6542b"
version = "0.76.0"
source = "git+https://github.com/bytecodealliance/wasmtime.git#9c550fcf41425942ed97c747f0169b2ca81f9c1b"
dependencies = [
"anyhow",
"cranelift-codegen",
Expand Down
41 changes: 26 additions & 15 deletions compiler/rustc_codegen_cranelift/build_sysroot/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ version = 3

[[package]]
name = "addr2line"
version = "0.14.1"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7"
checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd"
dependencies = [
"compiler_builtins",
"gimli",
Expand Down Expand Up @@ -40,9 +40,9 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"

[[package]]
name = "cc"
version = "1.0.69"
version = "1.0.70"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2"
checksum = "d26a6ce4b6a484fa3edb70f7efa6fc430fd2b87285fe8b84304fd0936faa0dc0"

[[package]]
name = "cfg-if"
Expand All @@ -56,7 +56,7 @@ dependencies = [

[[package]]
name = "compiler_builtins"
version = "0.1.46"
version = "0.1.50"
dependencies = [
"rustc-std-workspace-core",
]
Expand Down Expand Up @@ -99,9 +99,9 @@ dependencies = [

[[package]]
name = "gimli"
version = "0.23.0"
version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-alloc",
Expand Down Expand Up @@ -132,13 +132,23 @@ dependencies = [

[[package]]
name = "libc"
version = "0.2.98"
version = "0.2.102"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790"
checksum = "a2a5ac8f984bfcf3a823267e5fde638acc3325f6496633a5da6bb6eb2171e103"
dependencies = [
"rustc-std-workspace-core",
]

[[package]]
name = "memchr"
version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-core",
]

[[package]]
name = "miniz_oxide"
version = "0.4.4"
Expand All @@ -154,11 +164,12 @@ dependencies = [

[[package]]
name = "object"
version = "0.22.0"
version = "0.26.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397"
checksum = "39f37e50073ccad23b6d09bcb5b263f4e76d3bb6038e4a3c08e52162ffa8abc2"
dependencies = [
"compiler_builtins",
"memchr",
"rustc-std-workspace-alloc",
"rustc-std-workspace-core",
]
Expand Down Expand Up @@ -195,9 +206,9 @@ dependencies = [

[[package]]
name = "rustc-demangle"
version = "0.1.20"
version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dead70b0b5e03e9c814bcb6b01e03e68f7c57a80aa48c72ec92152ab3e818d49"
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-core",
Expand Down Expand Up @@ -286,9 +297,9 @@ dependencies = [

[[package]]
name = "unicode-width"
version = "0.1.8"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-core",
Expand Down
10 changes: 5 additions & 5 deletions compiler/rustc_codegen_cranelift/build_system/prepare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ pub(crate) fn prepare() {
);

clone_repo(
"stdsimd",
"https://github.com/rust-lang/stdsimd",
"be96995d8ddec03fac9a0caf4d4c51c7fbc33507",
"portable-simd",
"https://github.com/rust-lang/portable-simd",
"8cf7a62e5d2552961df51e5200aaa5b7c890a4bf",
);
apply_patches("stdsimd", Path::new("stdsimd"));
apply_patches("portable-simd", Path::new("portable-simd"));

clone_repo(
"simple-raytracer",
Expand Down Expand Up @@ -92,7 +92,7 @@ fn prepare_sysroot() {
clone_repo(
"build_sysroot/compiler-builtins",
"https://github.com/rust-lang/compiler-builtins.git",
"0.1.46",
"0.1.50",
);
apply_patches("compiler-builtins", Path::new("build_sysroot/compiler-builtins"));
}
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_cranelift/clean_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ set -e

rm -rf build_sysroot/{sysroot_src/,target/,compiler-builtins/,rustc_version}
rm -rf target/ build/ perf.data{,.old}
rm -rf rand/ regex/ simple-raytracer/ stdsimd/
rm -rf rand/ regex/ simple-raytracer/ portable-simd/
2 changes: 2 additions & 0 deletions compiler/rustc_codegen_cranelift/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ $ $cg_clif_dir/build/bin/cg_clif my_crate.rs

## Jit mode

> ⚠⚠⚠ The JIT mode is highly experimental. It may be slower than AOT compilation due to lack of incremental compilation. It may also be hard to setup if you have cargo dependencies. ⚠⚠⚠

In jit mode cg_clif will immediately execute your code without creating an executable file.

> This requires all dependencies to be available as dynamic library.
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_cranelift/example/alloc_example.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(start, core_intrinsics, alloc_prelude, alloc_error_handler)]
#![feature(start, core_intrinsics, alloc_prelude, alloc_error_handler, box_syntax)]
#![no_std]

extern crate alloc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(no_core, lang_items, never_type, linkage, extern_types, thread_local)]
#![feature(no_core, lang_items, never_type, linkage, extern_types, thread_local, box_syntax)]
#![no_core]
#![allow(dead_code, non_camel_case_types)]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@ Date: Sun, 25 Jul 2021 18:39:31 +0200
Subject: [PATCH] Disable unsupported tests

---
crates/core_simd/src/array.rs | 2 ++
crates/core_simd/src/lib.rs | 2 +-
crates/core_simd/src/vector.rs | 2 ++
crates/core_simd/src/math.rs | 4 ++++
crates/core_simd/tests/masks.rs | 12 ------------
crates/core_simd/tests/ops_macros.rs | 6 ++++++
crates/core_simd/tests/round.rs | 2 ++
6 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/crates/core_simd/src/array.rs b/crates/core_simd/src/array.rs
diff --git a/crates/core_simd/src/vector.rs b/crates/core_simd/src/vector.rs
index 25c5309..2b3d819 100644
--- a/crates/core_simd/src/array.rs
+++ b/crates/core_simd/src/array.rs
--- a/crates/core_simd/src/vector.rs
+++ b/crates/core_simd/src/vector.rs
@@ -22,6 +22,7 @@ where
#[must_use]
fn splat(val: Self::Scalar) -> Self;
self.0
}

+ /*
/// SIMD gather: construct a SIMD vector by reading from a slice, using potentially discontiguous indices.
Expand All @@ -31,27 +30,14 @@ index 25c5309..2b3d819 100644
+ */
}

macro_rules! impl_simdarray_for {
diff --git a/crates/core_simd/src/lib.rs b/crates/core_simd/src/lib.rs
index a64904d..299eb11 100644
--- a/crates/core_simd/src/lib.rs
+++ b/crates/core_simd/src/lib.rs
@@ -1,7 +1,7 @@
#![no_std]
#![allow(incomplete_features)]
#![feature(
- const_generics,
+ const_generics,
platform_intrinsics,
repr_simd,
simd_ffi,
impl<T, const LANES: usize> Copy for Simd<T, LANES>
diff --git a/crates/core_simd/src/math.rs b/crates/core_simd/src/math.rs
index 7290a28..e394730 100644
--- a/crates/core_simd/src/math.rs
+++ b/crates/core_simd/src/math.rs
@@ -2,6 +2,7 @@ macro_rules! impl_uint_arith {
($(($name:ident, $n:ident)),+) => {
$( impl<const LANES: usize> $name<LANES> where Self: crate::LanesAtMost32 {
($($ty:ty),+) => {
$( impl<const LANES: usize> Simd<$ty, LANES> where LaneCount<LANES>: SupportedLaneCount {

+ /*
/// Lanewise saturating add.
Expand All @@ -66,8 +52,8 @@ index 7290a28..e394730 100644
}
}
@@ -46,6 +48,7 @@ macro_rules! impl_int_arith {
($(($name:ident, $n:ident)),+) => {
$( impl<const LANES: usize> $name<LANES> where Self: crate::LanesAtMost32 {
($($ty:ty),+) => {
$( impl<const LANES: usize> Simd<$ty, LANES> where LaneCount<LANES>: SupportedLaneCount {

+ /*
/// Lanewise saturating add.
Expand All @@ -85,21 +71,22 @@ diff --git a/crates/core_simd/tests/masks.rs b/crates/core_simd/tests/masks.rs
index 61d8e44..2bccae2 100644
--- a/crates/core_simd/tests/masks.rs
+++ b/crates/core_simd/tests/masks.rs
@@ -67,18 +67,6 @@ macro_rules! test_mask_api {
@@ -67,19 +67,6 @@ macro_rules! test_mask_api {
assert_eq!(int.to_array(), [-1, 0, 0, -1, 0, 0, -1, 0]);
assert_eq!(core_simd::$name::<8>::from_int(int), mask);
assert_eq!(core_simd::Mask::<$type, 8>::from_int(int), mask);
}
-
- #[cfg(feature = "generic_const_exprs")]
- #[test]
- fn roundtrip_bitmask_conversion() {
- let values = [
- true, false, false, true, false, false, true, false,
- true, true, false, false, false, false, false, true,
- ];
- let mask = core_simd::$name::<16>::from_array(values);
- let mask = core_simd::Mask::<$type, 16>::from_array(values);
- let bitmask = mask.to_bitmask();
- assert_eq!(bitmask, [0b01001001, 0b10000011]);
- assert_eq!(core_simd::$name::<16>::from_bitmask(bitmask), mask);
- assert_eq!(core_simd::Mask::<$type, 16>::from_bitmask(bitmask), mask);
- }
}
}
Expand All @@ -122,7 +109,7 @@ index cb39e73..fc0ebe1 100644
}
+ */

fn sqrt<const LANES: usize>() {
fn recip<const LANES: usize>() {
test_helpers::test_unary_elementwise(
@@ -581,6 +585,7 @@ macro_rules! impl_float_tests {
});
Expand All @@ -138,8 +125,8 @@ index cb39e73..fc0ebe1 100644
}
+ */
}
}
}

#[cfg(feature = "std")]
diff --git a/crates/core_simd/tests/round.rs b/crates/core_simd/tests/round.rs
index 37044a7..4cdc6b7 100644
--- a/crates/core_simd/tests/round.rs
Expand Down
Loading