Skip to content

Commit 88bee74

Browse files
committed
Symlink proc-macro2 src dir into proc-macro2-fallback manifest dir
Because `..` is otherwise not available to `cargo package`. Compiling proc-macro2-fallback v1.0.66 error: couldn't read ../src/lib.rs: No such file or directory (os error 2) error: could not compile `proc-macro2-fallback` (lib) due to previous error error: failed to verify package tarball
1 parent ea99b07 commit 88bee74

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

fallback/Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ edition = "2021"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/dtolnay/proc-macro2"
88

9-
[lib]
10-
path = "../src/lib.rs"
11-
doc-scrape-examples = false
12-
139
[package.metadata.docs.rs]
1410
rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"]
1511
targets = ["x86_64-unknown-linux-gnu"]
@@ -20,3 +16,6 @@ unicode-ident = "1"
2016
[dev-dependencies]
2117
proc-macro2 = { version = "1", path = "..", default_features = false }
2218
quote = { version = "1", default_features = false }
19+
20+
[lib]
21+
doc-scrape-examples = false

fallback/src

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

0 commit comments

Comments
 (0)