Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c89fd01

Browse files
committed
Move proc-macro-test into proc-macro-srv
1 parent f427f56 commit c89fd01

File tree

8 files changed

+6
-9
lines changed

8 files changed

+6
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
members = ["xtask/", "lib/*", "crates/*"]
3-
exclude = ["crates/proc-macro-test/imp"]
3+
exclude = ["crates/proc-macro-srv/proc-macro-test/"]
44
resolver = "2"
55

66
[workspace.package]
@@ -81,7 +81,6 @@ vfs = { path = "./crates/vfs", version = "0.0.0" }
8181
rustc-dependencies = { path = "./crates/rustc-dependencies", version = "0.0.0" }
8282

8383
# local crates that aren't published to crates.io. These should not have versions.
84-
proc-macro-test = { path = "./crates/proc-macro-test" }
8584
sourcegen = { path = "./crates/sourcegen" }
8685
test-fixture = { path = "./crates/test-fixture" }
8786
test-utils = { path = "./crates/test-utils" }

crates/proc-macro-srv/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ proc-macro-api.workspace = true
3434
expect-test = "1.4.0"
3535

3636
# used as proc macro test targets
37-
proc-macro-test.workspace = true
37+
proc-macro-test.path = "./proc-macro-test"
3838

3939
[features]
4040
sysroot-abi = []

crates/proc-macro-test/Cargo.toml renamed to crates/proc-macro-srv/proc-macro-test/Cargo.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@ name = "proc-macro-test"
33
version = "0.0.0"
44
publish = false
55

6-
authors.workspace = true
7-
edition.workspace = true
8-
license.workspace = true
9-
rust-version.workspace = true
6+
edition = "2021"
7+
license = "MIT OR Apache-2.0"
108

119
[lib]
1210
doctest = false
1311

1412
[build-dependencies]
15-
cargo_metadata.workspace = true
13+
cargo_metadata = "0.18.1"
1614

1715
proc-macro-test-impl = { path = "imp", version = "0.0.0" }
1816

1917
# local deps
20-
toolchain.workspace = true
18+
toolchain.path = "../../toolchain"

0 commit comments

Comments
 (0)