feilongjiang opened issue #7685:
#7626 changed the cranelift-codegen features from
default
tohost-arch
incrates/cranelift/Cargo.toml
.Before this change, I could enable trace by adding
trace-log
tofeatures
incranelift/codegen/Cargo.toml
.But now the old way doesn't work,
trace-log
should be added tocrates/cranelift/Cargo.toml
like 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
default
tohost-arch
incrates/cranelift/Cargo.toml
.Before this change, I could enable trace by adding
trace-log
tofeatures
incranelift/codegen/Cargo.toml
.But now the old way doesn't work,
trace-log
should be added tocrates/cranelift/Cargo.toml
like 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
default
tohost-arch
incrates/cranelift/Cargo.toml
.Before this change, I could enable trace by adding
trace-log
to the features' default list incranelift/codegen/Cargo.toml
.But now the old way doesn't work,
trace-log
should be added tocrates/cranelift/Cargo.toml
like 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-log
feature to thewasmtime
crate and thread that through
feilongjiang closed issue #7685:
#7626 changed the cranelift-codegen features from
default
tohost-arch
incrates/cranelift/Cargo.toml
.Before this change, I could enable trace by adding
trace-log
to the features' default list incranelift/codegen/Cargo.toml
.But now the old way doesn't work,
trace-log
should be added tocrates/cranelift/Cargo.toml
like this:cranelift-codegen = { workspace = true, features = ["host-arch", "trace-log"] } ```` is that expected behavior? ~~~
Last updated: Dec 23 2024 at 13:07 UTC