[meta] Use the Rust crate for settings generation;

This commit is contained in:
Benjamin Bouvier
2019-04-16 15:32:06 +02:00
parent f335c5c56c
commit d6059d4605
4 changed files with 4 additions and 341 deletions

View File

@@ -379,6 +379,8 @@ mod tests {
f.to_string(),
"[shared]\n\
opt_level = \"default\"\n\
baldrdash_prologue_words = 0\n\
probestack_size_log2 = 12\n\
enable_verifier = true\n\
is_pic = false\n\
colocated_libcalls = false\n\
@@ -387,11 +389,9 @@ mod tests {
enable_nan_canonicalization = false\n\
enable_simd = true\n\
enable_atomics = true\n\
baldrdash_prologue_words = 0\n\
allones_funcaddrs = false\n\
probestack_enabled = true\n\
probestack_func_adjusts_sp = false\n\
probestack_size_log2 = 12\n\
jump_tables_enabled = true\n"
);
assert_eq!(f.opt_level(), super::OptLevel::Default);