Skip to content

Commit 9da3959

Browse files
committed
Move std_detect tests into a separate crate
1 parent de9b57a commit 9da3959

19 files changed

Lines changed: 43 additions & 15 deletions

library/Cargo.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,10 @@ dependencies = [
359359
"rustc-std-workspace-core",
360360
]
361361

362+
[[package]]
363+
name = "std_detect_tests"
364+
version = "0.0.0"
365+
362366
[[package]]
363367
name = "sysroot"
364368
version = "0.0.0"

library/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ members = [
77
"sysroot",
88
"coretests",
99
"alloctests",
10+
"std_detect_tests",
1011
]
1112

1213
exclude = [
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
[package]
3+
name = "std_detect_tests"
4+
version = "0.0.0"
5+
license = "MIT OR Apache-2.0"
6+
repository = "https://github.com/rust-lang/rust.git"
7+
description = "Tests for std_detect"
8+
edition = "2024"
9+
10+
[lib]
11+
path = "lib.rs"
12+
test = true
13+
bench = true
14+
doc = false

library/std_detect_tests/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

library/std_detect/src/detect/test_data/linux-artificial-aarch64.auxv renamed to library/std_detect_tests/test_data/linux-artificial-aarch64.auxv

File renamed without changes.

library/std_detect/src/detect/test_data/linux-empty-hwcap2-aarch64.auxv renamed to library/std_detect_tests/test_data/linux-empty-hwcap2-aarch64.auxv

File renamed without changes.

library/std_detect/src/detect/test_data/linux-hwcap2-aarch64.auxv renamed to library/std_detect_tests/test_data/linux-hwcap2-aarch64.auxv

File renamed without changes.

library/std_detect/src/detect/test_data/linux-no-hwcap2-aarch64.auxv renamed to library/std_detect_tests/test_data/linux-no-hwcap2-aarch64.auxv

File renamed without changes.
File renamed without changes.

library/std_detect/src/detect/test_data/macos-virtualbox-linux-x86-4850HQ.auxv renamed to library/std_detect_tests/test_data/macos-virtualbox-linux-x86-4850HQ.auxv

File renamed without changes.

0 commit comments

Comments
 (0)