Closed lovelyjuice closed 4 months ago
Cargo.toml
[package]
name = "test_muddy"
version = "0.1.0"
edition = "2021"
[dependencies]
muddy = "0.2.1"
Just to make sure I correctly understand the issue - you're trying to build for the linux target x86_64-unknown-linux-musl
from a windows box when this compiler error throws?
In that case, this error would make sense since we check the current platform to know which std
traits need to be imported. I think this logic can be changed to work with cross-platform use cases - I'll have a look at it over the next week. Thanks! :)
Yes, that is what I mean. I tried other crates like obfstr and goldberg, they support building linux version on Windows.
Yes, that is what I mean. I tried other crates like obfstr and goldberg, they support building linux version on Windows.
Can you checkout the branch of this PR and let me know if this solves the issue? #20
Same error.
Hey @lovelyjuice, I believe it should work now :) Let me know if this solves your issue, and if so I'll merge and make a new minor release
Thank you, it's now working properly!
My code on Windows:
Run
cargo build --target x86_64-unknown-linux-musl
Expand macros: