mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-29 04:51:59 +03:00
Don't enable nightly
feature of proc-macro2
This is no longer needed as of rustc 1.30.0 and the `proc-macro2` crate will now automatically detect whether it can use spans or not!
This commit is contained in:
parent
447b42b7ac
commit
0fb31b2bc4
@ -11,7 +11,7 @@ Backend code generation of the wasm-bindgen tool
|
||||
"""
|
||||
|
||||
[features]
|
||||
spans = ["proc-macro2/nightly"]
|
||||
spans = []
|
||||
extra-traits = ["syn/extra-traits"]
|
||||
|
||||
[dependencies]
|
||||
|
@ -11,7 +11,7 @@ The part of the implementation of the `#[wasm_bindgen]` attribute that is not in
|
||||
"""
|
||||
|
||||
[features]
|
||||
spans = ["proc-macro2/nightly", "wasm-bindgen-backend/spans"]
|
||||
spans = ["wasm-bindgen-backend/spans"]
|
||||
extra-traits = ["syn/extra-traits"]
|
||||
|
||||
[dependencies]
|
||||
|
@ -7,7 +7,7 @@ license = "MIT/Apache-2.0"
|
||||
repository = "https://github.com/rustwasm/wasm-bindgen"
|
||||
|
||||
[dependencies]
|
||||
proc-macro2 = { version = "0.4", features = ['nightly'] }
|
||||
proc-macro2 = "0.4"
|
||||
quote = "0.6"
|
||||
|
||||
[lib]
|
||||
|
Loading…
Reference in New Issue
Block a user