18 lines
413 B
Text
18 lines
413 B
Text
|
Index: libclamav_rust/.cargo/config.toml
|
||
|
--- libclamav_rust/.cargo/config.toml.orig
|
||
|
+++ libclamav_rust/.cargo/config.toml
|
||
|
@@ -5,3 +5,13 @@ replace-with = "vendored-sources"
|
||
|
[source.vendored-sources]
|
||
|
directory = ".cargo/vendor"
|
||
|
|
||
|
+[profile.release]
|
||
|
+opt-level = 2
|
||
|
+debug = 0
|
||
|
+debug-assertions = false
|
||
|
+overflow-checks = false
|
||
|
+lto = false
|
||
|
+panic = 'unwind'
|
||
|
+incremental = false
|
||
|
+codegen-units = 4
|
||
|
+rpath = false
|