feilongjiang opened issue #7685:
#7626 changed the cranelift-codegen features from
defaulttohost-archincrates/cranelift/Cargo.toml.Before this change, I could enable trace by adding
trace-logtofeaturesincranelift/codegen/Cargo.toml.But now the old way doesn't work,
trace-logshould be added tocrates/cranelift/Cargo.tomllike this::cranelift-codegen = { workspace = true, features = ["host-arch", "trace-log"] } ```` is that expected behavior? ~~~
feilongjiang edited issue #7685:
#7626 changed the cranelift-codegen features from
defaulttohost-archincrates/cranelift/Cargo.toml.Before this change, I could enable trace by adding
trace-logtofeaturesincranelift/codegen/Cargo.toml.But now the old way doesn't work,
trace-logshould be added tocrates/cranelift/Cargo.tomllike this:cranelift-codegen = { workspace = true, features = ["host-arch", "trace-log"] } ```` is that expected behavior? ~~~
feilongjiang edited issue #7685:
#7626 changed the cranelift-codegen features from
defaulttohost-archincrates/cranelift/Cargo.toml.Before this change, I could enable trace by adding
trace-logto the features' default list incranelift/codegen/Cargo.toml.But now the old way doesn't work,
trace-logshould be added tocrates/cranelift/Cargo.tomllike this:cranelift-codegen = { workspace = true, features = ["host-arch", "trace-log"] } ```` is that expected behavior? ~~~
alexcrichton commented on issue #7685:
This is expected behavior in that it's how Cargo features work, but not necessarily expected behavior in that's how things are expected to work. The best solution here would probably be to add a
cranelift-trace-logfeature to thewasmtimecrate and thread that through
feilongjiang closed issue #7685:
#7626 changed the cranelift-codegen features from
defaulttohost-archincrates/cranelift/Cargo.toml.Before this change, I could enable trace by adding
trace-logto the features' default list incranelift/codegen/Cargo.toml.But now the old way doesn't work,
trace-logshould be added tocrates/cranelift/Cargo.tomllike this:cranelift-codegen = { workspace = true, features = ["host-arch", "trace-log"] } ```` is that expected behavior? ~~~
Last updated: Dec 13 2025 at 19:03 UTC