Closed brongan closed 3 months ago
Hi @brongan , thank you for your report :)
Looks like the current documentation only states how to use nightly Rust in release mode, not debug mode. Could you try writing the content below and try it again?
cargo:
debug:
toolchain: nightly
release:
toolchain: nightly
More information about cargokit.yaml
can be seen at the link below. FYI, Cargokit is the builder(+linker) for Rust crates that are used in various Flutter projects.
If the problem persists, please let me know! If this solves your problem, I will update the docs.
That completely makes sense and fixed my issue thanks!.
Report
Following the instructions in https://rinf.cunarist.com/frequently-asked-questions/#how-do-i-use-nightly-rust I created the file "native/hub/cargokit.yaml" with the specified contents.
Even if I have the stable toolchain uninstalled,
flutter run
installs the stable toolchain.Steps to Reproduce
System Information