diff -rauN a/config/makefiles/rust.mk b/config/makefiles/rust.mk --- a/config/makefiles/rust.mk 2019-10-25 10:57:20.061421120 +0200 +++ b/config/makefiles/rust.mk 2019-10-25 11:06:30.065708309 +0200 @@ -252,13 +252,13 @@ # that we are not importing any networking-related functions in rust code. This reduces # the chance of proxy bypasses originating from rust code. # The check only works when rust code is built with -Clto. -ifndef MOZ_PROFILE_GENERATE -ifeq ($(OS_ARCH), Linux) -ifneq (,$(filter -Clto,$(cargo_rustc_flags))) - $(call py_action,check_binary,--target --networking $@) -endif -endif -endif +#ifndef MOZ_PROFILE_GENERATE +#ifeq ($(OS_ARCH), Linux) +#ifneq (,$(filter -Clto,$(cargo_rustc_flags))) +# $(call py_action,check_binary,--target --networking $@) +#endif +#endif +#endif force-cargo-library-check: $(call CARGO_CHECK) --lib $(cargo_target_flag) $(rust_features_flag)