Open maxammann opened 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:
web
build-std
android
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";
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 thebuild-std
feature for multithreadingandroid
uses nightly for unknown reasonsUntil 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: