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]
members = ["xtask/", "lib/*", "crates/*"]
exclude = ["crates/proc-macro-test/imp"]
exclude = ["crates/proc-macro-srv/proc-macro-test/"]
resolver = "2"
[workspace.package]
@ -81,7 +81,6 @@ vfs = { path = "./crates/vfs", 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.
proc-macro-test = { path = "./crates/proc-macro-test" }
sourcegen = { path = "./crates/sourcegen" }
test-fixture = { path = "./crates/test-fixture" }
test-utils = { path = "./crates/test-utils" }

View file

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

View file

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