emosenkis / esp-rs

Script for installing/running toolchain for building ESP8266 firmware in Rust
MIT License
329 stars 19 forks source link

Can this build less of mrustc? #12

Closed luser closed 5 years ago

luser commented 6 years ago

mrustc's README says "make -f minicargo.mk - Builds mrustc and minicargo, then builds libstd, libtest, finally rustc and cargo". I don't think this project actually uses the rustc and cargo that get built, it just uses mrustc + minicargo. If that's the case, then I think you could change build.sh to run make -f minicargo.mk LIBS (per the mrustc README) and skip building rustc and cargo binaries.

emosenkis commented 6 years ago

That sounds great! Could you please test it and send a pull request if it works?