Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Rust target is determined by the build platform instead of the host platform #206

Open
figsoda opened this issue Jan 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@figsoda
Copy link
Contributor

figsoda commented Jan 11, 2023

riff uses target_lexicon::HOST, which is determined when riff is built, and can differ from the actual target the user runs riff with

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 #199 (comment)

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

@cole-h cole-h added the enhancement New feature or request label Jan 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants