fix devopts

This commit is contained in:
Rowan 2025-01-06 02:53:19 -06:00
parent 7e5202582a
commit 06fab2777f

View file

@ -28,14 +28,15 @@ export const DynamicLinking = Object.freeze({
}) })
export const DevelopmentOptimizations = Object.freeze({ export const DevelopmentOptimizations = Object.freeze({
active: ({ dynopt }) => dynopt, active: ({ devopt }) => devopt,
apply: curry((_params, project) => apply: curry((_params, project) =>
map( map(
'Cargo.toml', 'Cargo.toml',
pipe( pipe(
assoc('profile.dev', optLevel(1)), assoc('profile.dev', optLevel(1)),
assoc('profile.dev.package."*"', optLevel(3)) assoc('profile.dev.package."*"', optLevel(3))
) ),
project
)) ))
}) })