Update README (#103)

This commit is contained in:
Jay Oster 2020-07-19 13:40:56 -07:00 committed by GitHub
parent fcc8f9fe65
commit f118805eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,8 +48,7 @@ $ RUST_LOG=trace cargo run --package minimal-winit
And also on release builds when default features are disabled: And also on release builds when default features are disabled:
``` ```
$ cd examples/minimal-winit $ RUST_LOG=trace cargo run --release --manifest-path examples/minimal-winit/Cargo.toml --no-default-features
$ RUST_LOG=trace cargo run --release --no-default-features
``` ```
Alternatively, nightly Cargo allows using the `--no-default-features` flag directly from the top-level directory in combination with the unstable `-Zpackage-features` flag: Alternatively, nightly Cargo allows using the `--no-default-features` flag directly from the top-level directory in combination with the unstable `-Zpackage-features` flag: