fix devopts
This commit is contained in:
parent
7e5202582a
commit
06fab2777f
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue