Bug 1768428 - Check that c_compiler is defined in wasm_verify_serialization_for_size. r=rhunt

`c_compiler` appears to be undefined when we use artifact + debug mode.

Differential Revision: https://phabricator.services.mozilla.com/D145868
This commit is contained in:
William Durand 2022-05-09 14:26:57 +00:00
parent 24cff0637d
commit a49109c1e3

View File

@ -846,6 +846,7 @@ def wasm_verify_serialization_for_size(target, c_compiler, debug, milestone):
debug == True
and target.kernel == "Linux"
and target.cpu == "x86_64"
and c_compiler
and c_compiler.type == "clang"
and milestone.is_nightly
):