зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1643273 - Disable consistency check for Opcodes.h in SM(nu) job. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D78245
This commit is contained in:
Родитель
affacf5510
Коммит
bb16091e78
|
@ -1,6 +1,9 @@
|
|||
{
|
||||
"configure-args": "--enable-warnings-as-errors --enable-rust-simd",
|
||||
"debug": true,
|
||||
"env": {
|
||||
"JS_SMOOSH_DISABLE_OPCODE_CHECK": "1"
|
||||
},
|
||||
"conditional-configure-args": {
|
||||
"linux64": "--enable-smoosh"
|
||||
},
|
||||
|
|
|
@ -6,13 +6,20 @@ fn compare(name: &str, orig: &str, copied: &str) {
|
|||
"{} is out of sync. \
|
||||
It's possible that the bytecode generated by jsparagus is \
|
||||
based on older opcodes. Please run \
|
||||
crates/emitter/scripts/update_opcodes.py in jsparagus.",
|
||||
update_stencil.py in jsparagus. \
|
||||
You can disable this check by setting \
|
||||
JS_SMOOSH_DISABLE_OPCODE_CHECK environment variable.",
|
||||
name
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
match std::env::var("JS_SMOOSH_DISABLE_OPCODE_CHECK") {
|
||||
Ok(_) => { return; },
|
||||
Err(_) => {}
|
||||
};
|
||||
|
||||
compare(
|
||||
"Opcodes.h",
|
||||
include_str!("../../vm/Opcodes.h"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче