As we add more rust crates in performance-critical places, we run into some performance issues with debug builds. This makes it hard to get a good feel for the performance of the application, as something may be slow simply because it's not been optimized by the compiler. This commit adds a ci profile to our meson options, and adjusts our CI configuration to use it. Regular builds should continue to use the development profile. Also renames `default` to `release`
11 lines
260 B
Meson
11 lines
260 B
Meson
option(
|
|
'profile',
|
|
type: 'combo',
|
|
description: 'The build profiles for the application. Use development or ci for the .Devel app ID. ci also produces optimized bundles.',
|
|
choices: [
|
|
'release',
|
|
'development',
|
|
'ci',
|
|
],
|
|
value: 'release'
|
|
)
|