https://t.co/vQzG4FL0AM 可以通过 cargo::rustc-cfg=KEY[=VALUE] 来动态开启一些条件编译的 flag,比如 Cargo.toml 明明没启用一些 feature 却可以编译通过,可能就是 https://t.co/vQzG4FL0AM 的作用。可以在 target/debug/build/xxx/output 里看到 https://t.co/vQzG4FL0AM 的输出

Reply to this note

Please Login to reply.

Discussion

No replies yet.