fix: exclude proc_macro from crt-static

This commit is contained in:
anatawa12 2023-04-15 00:02:33 +09:00
commit b705b5f367
No known key found for this signature in database
GPG key ID: 9CA909848B8E4EA6

View file

@ -1,5 +1,5 @@
[target.'cfg(target_os = "linux")']
[target.'cfg(all(target_os = "linux", not(proc_macro)))']
rustflags = ["-C", "target-feature=+crt-static"]
[target.'cfg(all(windows, target_env = "msvc"))']
[target.'cfg(all(windows, target_env = "msvc", not(proc_macro)))']
rustflags = ["-C", "target-feature=+crt-static"]