add esp-wifi optimization recommendations

This commit is contained in:
Georges PALAUQUI 2023-05-05 12:12:47 +02:00
parent 1469af8dab
commit a03edbaeeb

View File

@ -3,7 +3,7 @@ name = "esp_miner"
version = "0.1.0"
authors = ["Georges PALAUQUI <g.palauqui@gptechinno.com>"]
edition = "2021"
rust-version = "1.65.0"
rust-version = "1.67.0"
description = "Rust based firmware for BitaxeMax"
repository = "https://github.com/skot/ESP-Miner"
license = "MIT OR Apache-2.0"
@ -54,3 +54,15 @@ static_cell = "1.0.0"
[features]
generate-clki = []
[profile.release]
# Explicitly disable LTO which the Xtensa codegen backend has issues
lto = "off"
opt-level = 3
[profile.dev]
# Explicitly disable LTO which the Xtensa codegen backend has issues
lto = "off"
[profile.dev.package.esp-wifi]
opt-level = 3