Lines Matching refs:features

4 to fit on a small system. This documentation is intended to guide some features
46 disable the default features of the C API. This will remove all
51 $ cargo build -p wasmtime-c-api --release --no-default-features
66 can all be disabled through Cargo features to shave off a small amount of code.
72 $ cargo build -p wasmtime-c-api --release --no-default-features --features disable-logging
90 $ cargo build -p wasmtime-c-api --release --no-default-features --features disable-logging
110 $ cargo build -p wasmtime-c-api --release --no-default-features --features disable-logging
125 $ cargo build -p wasmtime-c-api --release --no-default-features --features disable-logging
140 $ cargo build -p wasmtime-c-api --release --no-default-features --features disable-logging
149 One final flag before getting to nightly features is to strip debug information
161 $ cargo build -p wasmtime-c-api --release --no-default-features --features disable-logging
183 $ cargo +nightly build -p wasmtime-c-api --release --no-default-features --features disable-logging
188 Further along the line of nightly features the next optimization will recompile
201 $ cargo +nightly build -p wasmtime-c-api --release --no-default-features --features disable-logging…
207 Next the Rust standard library has some optional features in addition to
209 environments so the features of the standard library can be disabled with the
210 `-Zbuild-std-features=` flag which configures the set of enabled features to be
220 $ cargo +nightly build -p wasmtime-c-api --release --no-default-features --features disable-logging…
222 -Z build-std-features=
238 $ cargo +nightly build -p wasmtime-c-api --release --no-default-features --features disable-logging…
240 -Z build-std-features=panic_immediate_abort
315 Wasmtime's features are gated behind either platform-specific configuration
318 features](https://docs.rs/wasmtime/latest/wasmtime/#crate-features) which likely
321 Not all of Wasmtime's features are supported on all platforms, but many are
326 the first things you'll want to do is to disable the default features of the
329 Some important features to be aware of for custom platforms are:
334 * `cranelift` and `winch` - you likely want to disable these features. This
380 * Not all features for Wasmtime can be built for custom targets. For example
382 probably want `--no-default-features` and will then want to incrementally add
383 features back in as needed.
386 embedding and some necessary steps. Combined with the above features about