Fix default release profile and change optimization default back to Simple.
This commit is contained in:
parent
3518c5a630
commit
03b2e9ad69
@ -20,7 +20,7 @@ num-traits = "0.2.11"
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
#default = ["no_function", "no_index", "no_float", "only_i32", "no_stdlib", "unchecked", "no_optimize"]
|
#default = ["no_function", "no_index", "no_float", "only_i32", "no_stdlib", "unchecked", "no_optimize"]
|
||||||
default = [ "optimize_full" ]
|
default = []
|
||||||
debug_msgs = [] # print debug messages on function registrations and calls
|
debug_msgs = [] # print debug messages on function registrations and calls
|
||||||
unchecked = [] # unchecked arithmetic
|
unchecked = [] # unchecked arithmetic
|
||||||
no_stdlib = [] # no standard library of utility functions
|
no_stdlib = [] # no standard library of utility functions
|
||||||
@ -28,7 +28,7 @@ no_index = [] # no arrays and indexing
|
|||||||
no_float = [] # no floating-point
|
no_float = [] # no floating-point
|
||||||
no_function = [] # no script-defined functions
|
no_function = [] # no script-defined functions
|
||||||
no_optimize = [] # no script optimizer
|
no_optimize = [] # no script optimizer
|
||||||
optimize_full = [] # set optimization level to Full (default is Simple)
|
optimize_full = [] # set optimization level to Full (default is Simple) - this is a feature used only to simply testing
|
||||||
only_i32 = [] # set INT=i32 (useful for 32-bit systems)
|
only_i32 = [] # set INT=i32 (useful for 32-bit systems)
|
||||||
only_i64 = [] # set INT=i64 (default) and disable support for all other integer types
|
only_i64 = [] # set INT=i64 (default) and disable support for all other integer types
|
||||||
|
|
||||||
@ -38,7 +38,8 @@ no_std = [ "num-traits/libm", "hashbrown", "core-error", "libm" ]
|
|||||||
[profile.release]
|
[profile.release]
|
||||||
lto = "fat"
|
lto = "fat"
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
opt-level = "z" # optimize for size
|
#opt-level = "z" # optimize for size
|
||||||
|
#panic = 'abort' # remove stack backtrace for no-std
|
||||||
|
|
||||||
[dependencies.libm]
|
[dependencies.libm]
|
||||||
version = "0.2.1"
|
version = "0.2.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user