Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cargo-lambda/cargo-lambda
/ is_release_profile
Function
is_release_profile
crates/cargo-lambda-build/src/lib.rs:212–219 ·
view source on GitHub ↗
(build: &Build)
Source
from the content-addressed store, hash-verified
210
}
211
212
fn is_release_profile(build: &Build) -> bool {
213
build.cargo_opts.release
214
|| build
215
.cargo_opts
216
.profile
217
.as_deref()
218
.is_some_and(|p| p ==
"release"
)
219
}
Callers
1
run
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected