I see no effect of these options on the build of wasm
file. Is it that possible it has no effect?
[profile.release]
opt-level = "z"
lto = true
panic = "abort"
As well as I don't see an effect of this:
[profile.release.package."*"]
opt-level = "s"
What could be wrong with my cargo file?
I run it in this way:
command = "cargo"
args = [
"build",
"--manifest-path", "${CARGO_MAKE_CURRENT_TASK_INITIAL_MAKEFILE_DIRECTORY}/../../Cargo.toml",
"--bin", "web",
"--target", "wasm32-unknown-unknown",
"--features", "web",
"--profile", "release",
]