Fix default release profile and change optimization default back to Simple.
@@ -20,7 +20,7 @@ num-traits = "0.2.11"
[features]
#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
unchecked = [] # unchecked arithmetic
no_stdlib = [] # no standard library of utility functions
@@ -28,7 +28,7 @@ no_index = [] # no arrays and indexing
no_float = [] # no floating-point
no_function = [] # no script-defined functions
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_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]
lto = "fat"
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]
version = "0.2.1"
