Skip to content

Commit 46388c1

Browse files
committed
Re-enable all inline asm usage for the rustc tests
1 parent 453ce49 commit 46388c1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

scripts/setup_rust_fork.sh

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,6 @@ git checkout "$(rustc -V | cut -d' ' -f3 | tr -d '(')"
1313
git -c user.name=Dummy -c user.email=dummy@example.com -c commit.gpgSign=false \
1414
am ../patches/*-stdlib-*.patch
1515

16-
git apply - <<EOF
17-
diff --git a/library/alloc/Cargo.toml b/library/alloc/Cargo.toml
18-
index d95b5b7f17f..00b6f0e3635 100644
19-
--- a/library/alloc/Cargo.toml
20-
+++ b/library/alloc/Cargo.toml
21-
@@ -8,7 +8,7 @@ edition = "2018"
22-
23-
[dependencies]
24-
core = { path = "../core" }
25-
-compiler_builtins = { version = "0.1.40", features = ['rustc-dep-of-std'] }
26-
+compiler_builtins = { version = "0.1.66", features = ['rustc-dep-of-std', 'no-asm'] }
27-
28-
[dev-dependencies]
29-
rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
30-
rand_xorshift = "0.3.0"
31-
EOF
32-
3316
cat > config.toml <<EOF
3417
change-id = 115898
3518
@@ -49,9 +32,6 @@ verbose-tests = false
4932
EOF
5033
popd
5134

52-
# FIXME remove once inline asm is fully supported
53-
export RUSTFLAGS="$RUSTFLAGS --cfg=rustix_use_libc"
54-
5535
export CFG_VIRTUAL_RUST_SOURCE_BASE_DIR="$(cd build/stdlib; pwd)"
5636

5737
# Allow the testsuite to use llvm tools

0 commit comments

Comments
 (0)