We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 485d7e1 commit e9bd63aCopy full SHA for e9bd63a
src/config.rs
@@ -82,6 +82,11 @@ impl BackendConfig {
82
83
let mut config = BackendConfig::default();
84
for opt in opts {
85
+ if opt.starts_with("-import-instr-limit") {
86
+ // Silently ignore -import-instr-limit. It is set by rust's build system even when
87
+ // testing cg_clif.
88
+ continue;
89
+ }
90
if let Some((name, value)) = opt.split_once('=') {
91
match name {
92
"mode" => config.codegen_mode = value.parse()?,
0 commit comments