bevy_scriptum/.cargo/config.toml
2025-05-19 07:00:00 +02:00

7 lines
354 B
TOML

[build]
# Without this flag, when linking static libruby, the linker removes symbols
# (such as `_rb_ext_ractor_safe`) which it thinks are dead code... but they are
# not, and they need to be included for the `embed` feature to work with static
# Ruby.
# rustflags = ["-C", "link-args=-lz", "-C", "link-dead-code=on"]
rustflags = ["-C", "link-args=-lz"]