Open figsoda opened 1 year ago
riff uses target_lexicon::HOST, which is determined when riff is built, and can differ from the actual target the user runs riff with
target_lexicon::HOST
We default to x86_64-unknown-linux-musl on linux, which differs from x86_64-unknown-linux-gnu that my cargo targets, and causes the issue mentioned in https://github.com/DeterminateSystems/riff/pull/199#issuecomment-1379439484
x86_64-unknown-linux-musl
x86_64-unknown-linux-gnu
riff should try to guess what rust on the host environment targets or have a better default (gnu instead of musl) instead of using the target of the build environment
riff uses
target_lexicon::HOST
, which is determined when riff is built, and can differ from the actual target the user runs riff withWe default to
x86_64-unknown-linux-musl
on linux, which differs fromx86_64-unknown-linux-gnu
that my cargo targets, and causes the issue mentioned in https://github.com/DeterminateSystems/riff/pull/199#issuecomment-1379439484riff should try to guess what rust on the host environment targets or have a better default (gnu instead of musl) instead of using the target of the build environment