mirror of
https://github.com/openharmony/third_party_rust_proc-macro-error.git
synced 2026-07-19 16:33:33 -04:00
Specify a single target for docs.rs builds
This commit is contained in:
@@ -16,6 +16,9 @@ build = "build.rs"
|
||||
[badges]
|
||||
maintenance = { status = "passively-maintained" }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
quote = "1"
|
||||
proc-macro2 = "1"
|
||||
|
||||
@@ -12,6 +12,9 @@ build = "build.rs"
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
quote = "1"
|
||||
proc-macro2 = "1"
|
||||
|
||||
Reference in New Issue
Block a user