Browse Source

[may_minihttp] update release profile (#7740)

* [may_minihttp] update release profile

* [may_minihttp] update rust to 1.65
Xudong Huang 2 years ago
parent
commit
c88475c4fa

+ 6 - 1
frameworks/Rust/may-minihttp/Cargo.toml

@@ -16,5 +16,10 @@ may_postgres = { git = "https://github.com/Xudong-Huang/may_postgres.git" }
 may_minihttp = { git = "https://github.com/Xudong-Huang/may_minihttp.git" }
 may_minihttp = { git = "https://github.com/Xudong-Huang/may_minihttp.git" }
 
 
 [profile.release]
 [profile.release]
-lto = true
+opt-level = 3
 codegen-units = 1
 codegen-units = 1
+panic = 'abort'
+lto = "thin"
+debug = false
+incremental = false
+overflow-checks = false

+ 1 - 1
frameworks/Rust/may-minihttp/may-minihttp.dockerfile

@@ -1,4 +1,4 @@
-FROM rust:1.64
+FROM rust:1.65
 
 
 RUN apt-get update -yqq && apt-get install -yqq cmake g++
 RUN apt-get update -yqq && apt-get install -yqq cmake g++