Revert no-std profile changes and fix README.

This commit is contained in:
Stephen Chung
2021-07-04 17:09:50 +08:00
parent d0fc5257c4
commit 68270e9b61
3 changed files with 14 additions and 4 deletions

View File

@@ -23,6 +23,16 @@ opt-level = "z" # optimize for size
debug = false
rpath = false
debug-assertions = false
panic = "abort"
codegen-units = 1
panic = "abort"
[profile.unix]
inherits = "release"
lto = true
[profile.windows]
inherits = "release"
[profile.macos]
inherits = "release"
lto = "fat"

View File

@@ -12,7 +12,7 @@ To Compile
The nightly compiler is required:
```bash
cargo +nightly build --release
cargo +nightly build --profile unix -Z unstable-options
```
Available profiles are: `unix`, `windows` and `macos`.