Move proc-macro-test into proc-macro-srv

This commit is contained in:
Lukas Wirth 2023-12-15 14:27:45 +01:00
parent f427f56812
commit c89fd01739
8 changed files with 6 additions and 9 deletions

View file

@ -1,6 +1,6 @@
[workspace] [workspace]
members = ["xtask/", "lib/*", "crates/*"] members = ["xtask/", "lib/*", "crates/*"]
exclude = ["crates/proc-macro-test/imp"] exclude = ["crates/proc-macro-srv/proc-macro-test/"]
resolver = "2" resolver = "2"
[workspace.package] [workspace.package]
@ -81,7 +81,6 @@ vfs = { path = "./crates/vfs", version = "0.0.0" }
rustc-dependencies = { path = "./crates/rustc-dependencies", version = "0.0.0" } rustc-dependencies = { path = "./crates/rustc-dependencies", version = "0.0.0" }
# local crates that aren't published to crates.io. These should not have versions. # local crates that aren't published to crates.io. These should not have versions.
proc-macro-test = { path = "./crates/proc-macro-test" }
sourcegen = { path = "./crates/sourcegen" } sourcegen = { path = "./crates/sourcegen" }
test-fixture = { path = "./crates/test-fixture" } test-fixture = { path = "./crates/test-fixture" }
test-utils = { path = "./crates/test-utils" } test-utils = { path = "./crates/test-utils" }

View file

@ -34,7 +34,7 @@ proc-macro-api.workspace = true
expect-test = "1.4.0" expect-test = "1.4.0"
# used as proc macro test targets # used as proc macro test targets
proc-macro-test.workspace = true proc-macro-test.path = "./proc-macro-test"
[features] [features]
sysroot-abi = [] sysroot-abi = []

View file

@ -3,18 +3,16 @@ name = "proc-macro-test"
version = "0.0.0" version = "0.0.0"
publish = false publish = false
authors.workspace = true edition = "2021"
edition.workspace = true license = "MIT OR Apache-2.0"
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false
[build-dependencies] [build-dependencies]
cargo_metadata.workspace = true cargo_metadata = "0.18.1"
proc-macro-test-impl = { path = "imp", version = "0.0.0" } proc-macro-test-impl = { path = "imp", version = "0.0.0" }
# local deps # local deps
toolchain.workspace = true toolchain.path = "../../toolchain"