Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33035817
D7172.1768409114.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
848 B
Referenced Files
None
Subscribers
None
D7172.1768409114.diff
View Options
diff --git a/scripts/build-rust-native-library.sh b/scripts/build-rust-native-library.sh
--- a/scripts/build-rust-native-library.sh
+++ b/scripts/build-rust-native-library.sh
@@ -25,7 +25,7 @@
# Set C++ standard and build cxx bridge
export CXXFLAGS="-std=c++14"
-env PATH="${build_path}" cargo build
+env PATH="${build_path}" cargo build --release
# Build universal static library (works on simulator and iOS)
env PATH="${build_path}" cargo lipo --release
# Unset the flag specifying C++ standard
diff --git a/services/tunnelbroker/Dockerfile b/services/tunnelbroker/Dockerfile
--- a/services/tunnelbroker/Dockerfile
+++ b/services/tunnelbroker/Dockerfile
@@ -37,7 +37,7 @@
# Build Rust by Cargo
WORKDIR /transferred/services/tunnelbroker
-RUN cargo build
+RUN cargo build --release
CMD if [ "$COMM_TEST_SERVICES" -eq 1 ];\
then\
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 14, 4:45 PM (7 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5929609
Default Alt Text
D7172.1768409114.diff (848 B)
Attached To
Mode
D7172: [cargo] Add `--release` flag to native library/tunnelbroker builds
Attached
Detach File
Event Timeline
Log In to Comment