diff --git a/cli/src/build.ts b/cli/src/build.ts index a9a95c01..c83f6bfb 100644 --- a/cli/src/build.ts +++ b/cli/src/build.ts @@ -148,6 +148,7 @@ export class BuildCommand extends Command { this.disableWindowsX32Optimize ) { Object.assign(additionalEnv, { + CARGO_PROFILE_DEBUG_CODEGEN_UNITS: 256, CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 256, CARGO_PROFILE_RELEASE_LTO: false, })