Cargo allows specifying a default target when building: https://doc.rust-lang.org/cargo/reference/config.html Need to check to make sure cargo-web builds don't get affected.