Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/rust-static-disable-network-test-on-static-libraries.patch
blob: 9e4baffac5f951406c5d20a3a6d80aa6ae1c3f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -rauN a/config/makefiles/rust.mk b/config/makefiles/rust.mk
--- a/config/makefiles/rust.mk	2019-09-17 19:02:50.000000000 +0200
+++ b/config/makefiles/rust.mk	2019-09-21 15:24:51.554451253 +0200
@@ -244,13 +244,13 @@
 # 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 DEVELOPER_OPTIONS
-ifndef MOZ_DEBUG_RUST
-ifeq ($(OS_ARCH), Linux)
-	$(call py_action,check_binary,--target --networking $@)
-endif
-endif
-endif
+#ifndef DEVELOPER_OPTIONS
+#ifndef MOZ_DEBUG_RUST
+#ifeq ($(OS_ARCH), Linux)
+#	$(call py_action,check_binary,--target --networking $@)
+#endif
+#endif
+#endif
 
 force-cargo-library-check:
 	$(call CARGO_CHECK) --lib $(cargo_target_flag) $(rust_features_flag)