blob: 84dcc1d3787ca445b3db0c202d7d3b4c2ff05914 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff -rauN a/config/makefiles/rust.mk b/config/makefiles/rust.mk
--- a/config/makefiles/rust.mk 2019-09-21 12:17:00.399732877 +0200
+++ b/config/makefiles/rust.mk 2019-09-21 12:18:04.531378287 +0200
@@ -244,6 +244,7 @@
# When we are building in --enable-release mode; we add an additional check to confirm
# that we are not importing any networking-related functions in rust code. This reduces
# the chance of proxy bypasses originating from rust code.
+ifndef MOZ_PROFILE_GENERATE
ifndef DEVELOPER_OPTIONS
ifndef MOZ_DEBUG_RUST
ifeq ($(OS_ARCH), Linux)
@@ -251,6 +252,7 @@
endif
endif
endif
+endif
force-cargo-library-check:
$(call CARGO_CHECK) --lib $(cargo_target_flag) $(rust_features_flag)
|