Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose a single Rust nightly instead of stable/nightly mix #306

Open
maxammann opened this issue Jul 22, 2024 · 0 comments
Open

Choose a single Rust nightly instead of stable/nightly mix #306

maxammann opened this issue Jul 22, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@maxammann
Copy link
Collaborator

maxammann commented Jul 22, 2024

Integrating Nix shows problems because the project depends on a nightly and stable verison of Rust right now.

The nightly verison is needed because of:

  • web uses the build-std feature for multithreading
  • we use the nightly rustfmt
  • android uses nightly for unknown reasons

Until maplibre-rs is even remotely stable it makes sense to use onyl the nightly I beleive and simplify setup.

In nix we can get the path to Rust like that:

 export RUST_PATH="${rust}/bin";
 export RUST_SRC_PATH="${rust}/lib/rustlib/src/rust/library";
@maxammann maxammann added bug Something isn't working good first issue Good for newcomers labels Jul 22, 2024
This was referenced Jul 23, 2024
@maxammann maxammann added this to the Alpha Release 0.1.0 milestone Jul 26, 2024
@maxammann maxammann removed the bug Something isn't working label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant