swc/.cargo/config
강동윤 eebf14fbef
Allow stable rust (#118)
This pr introduces some cargo features. For `swc_common` and `swc_ecma_ast`, it introduces a feature flag `fold`.
`Fold` and `Visit` traits exist only if the feature is enabled.

For `swc_ecma_parser`, flag called `verify` is added. When disabled, we skip checking of validity of some expressions.

e.g. `{foo = bar}`

Verification is disabled by default it requires nightly compiler
2019-01-17 23:17:16 +09:00

10 lines
128 B
Plaintext

[build]
rustflags = [
"--cfg", "procmacro2_semver_exempt",
]
rustdocflags = [
"--cfg", "procmacro2_semver_exempt",
]