tools/corrosion/test/custom_profiles/custom_profiles/rust/Cargo.toml
branchtransitional_engine
changeset 16050 6a3dc15b78b9
equal deleted inserted replaced
16038:7544a7d7c819 16050:6a3dc15b78b9
       
     1 [package]
       
     2 name = "custom-profiles-lib"
       
     3 version = "0.1.0"
       
     4 edition = "2021"
       
     5 
       
     6 [lib]
       
     7 crate-type=["staticlib"]
       
     8 
       
     9 # Test if neither release or debug where selected by only disabling debug-assertions in the inherited profile.
       
    10 [profile.release]
       
    11 debug-assertions = true
       
    12 
       
    13 [profile.dev-without-dbg]
       
    14 inherits = "dev"
       
    15 debug-assertions = false
       
    16 
       
    17 [profile.release-without-dbg]
       
    18 inherits = "release"
       
    19 debug-assertions = false
       
    20 
       
    21 [profile.custom-without-dbg]
       
    22 inherits = "release"
       
    23 opt-level = 1
       
    24 debug-assertions = false