MCPcopy 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
212fn 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

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected