Skip to content

Commit 7c77fed

Browse files
committed
Fix mock-std as well
1 parent 769ac7c commit 7c77fed

File tree

21 files changed

+12
-33
lines changed

21 files changed

+12
-33
lines changed

tests/testsuite/mock-std/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[workspace]
22
members = [
3-
"src/liballoc",
4-
"src/libcore",
5-
"src/libproc_macro",
6-
"src/libstd",
7-
"src/libtest",
3+
"library/alloc",
4+
"library/core",
5+
"library/proc_macro",
6+
"library/std",
7+
"library/test",
88
]

tests/testsuite/mock-std/src/liballoc/Cargo.toml renamed to tests/testsuite/mock-std/library/alloc/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@ version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
55
edition = "2018"
66

7-
[lib]
8-
path = "lib.rs"
9-
107
[dependencies]
118
registry-dep-using-core = { version = "*", features = ['mockbuild'] }

tests/testsuite/mock-std/src/libcompiler_builtins/Cargo.toml renamed to tests/testsuite/mock-std/library/compiler_builtins/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ name = "compiler_builtins"
33
version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
55
edition = "2018"
6-
7-
[lib]
8-
path = "lib.rs"

tests/testsuite/mock-std/src/libcore/Cargo.toml renamed to tests/testsuite/mock-std/library/core/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ name = "core"
33
version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
55
edition = "2018"
6-
7-
[lib]
8-
path = "lib.rs"

tests/testsuite/mock-std/src/libpanic_unwind/Cargo.toml renamed to tests/testsuite/mock-std/library/panic_unwind/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ name = "panic_unwind"
33
version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
55
edition = "2018"
6-
7-
[lib]
8-
path = "lib.rs"

tests/testsuite/mock-std/src/libproc_macro/Cargo.toml renamed to tests/testsuite/mock-std/library/proc_macro/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ name = "proc_macro"
33
version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
55
edition = "2018"
6-
7-
[lib]
8-
path = "lib.rs"

tests/testsuite/mock-std/src/tools/rustc-std-workspace-alloc/Cargo.toml renamed to tests/testsuite/mock-std/library/rustc-std-workspace-alloc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ edition = "2018"
88
path = "lib.rs"
99

1010
[dependencies]
11-
alloc = { path = "../../liballoc" }
11+
alloc = { path = "../alloc" }

tests/testsuite/mock-std/src/tools/rustc-std-workspace-core/Cargo.toml renamed to tests/testsuite/mock-std/library/rustc-std-workspace-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ edition = "2018"
88
path = "lib.rs"
99

1010
[dependencies]
11-
core = { path = "../../libcore" }
11+
core = { path = "../core" }

tests/testsuite/mock-std/src/tools/rustc-std-workspace-std/Cargo.toml renamed to tests/testsuite/mock-std/library/rustc-std-workspace-std/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ edition = "2018"
88
path = "lib.rs"
99

1010
[dependencies]
11-
std = { path = "../../libstd" }
11+
std = { path = "../std" }

tests/testsuite/mock-std/src/libstd/Cargo.toml renamed to tests/testsuite/mock-std/library/std/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
55
edition = "2018"
66

7-
[lib]
8-
path = "lib.rs"
9-
107
[dependencies]
118
registry-dep-using-alloc = { version = "*", features = ['mockbuild'] }
129

tests/testsuite/mock-std/src/libtest/Cargo.toml renamed to tests/testsuite/mock-std/library/test/Cargo.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
55
edition = "2018"
66

7-
[lib]
8-
path = "lib.rs"
9-
107
[dependencies]
11-
proc_macro = { path = "../libproc_macro" }
12-
std = { path = "../libstd" }
13-
panic_unwind = { path = "../libpanic_unwind" }
14-
compiler_builtins = { path = "../libcompiler_builtins" }
8+
proc_macro = { path = "../proc_macro" }
9+
std = { path = "../std" }
10+
panic_unwind = { path = "../panic_unwind" }
11+
compiler_builtins = { path = "../compiler_builtins" }
1512
registry-dep-using-std = { version = "*", features = ['mockbuild'] }
1613

1714
[features]

0 commit comments

Comments
 (0)