Package: wnpp
Severity: wishlist
Owner: Alexander Kjäll <[email protected]>
X-Debbugs-Cc: [email protected], [email protected]

* Package name    : rust-opt-level
  Version         : 1.0.1
  Upstream Contact: David Tolnay
* URL             : https://crates.io/crates/opt-level
* License         : MIT OR Apache-2.0 
  Programming Lang: Rust
  Description     : Get value of rustc '-Copt-level=' flag

Useful for sizing tests to run fewer iterations in slow build modes.

According to https://doc.rust-lang.org/cargo/reference/profiles.html#opt-level 
the possible values are:

    0: no optimizations
    1: basic optimizations
    2: some optimizations
    3: all optimizations
    s: optimize for binary size
    z: optimize for binary size, but also turn off loop vectorization

Reply via email to