maplibre / maplibre-rs

Experimental Maps for Web, Mobile and Desktop
Apache License 2.0
1.36k stars 79 forks source link

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

Open maxammann opened 4 months ago

maxammann commented 4 months ago

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:

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";