mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-29 20:50:22 +00:00
meson: run cargo build in release mode when using plain buildtype
This commit is contained in:
parent
657fb6a4aa
commit
22f13e2284
@ -271,7 +271,7 @@ gen_bpf_skel = generator(bpftool_build_skel,
|
||||
# For rust sub-projects.
|
||||
#
|
||||
cargo_build_args = ['--quiet']
|
||||
if get_option('buildtype') == 'release'
|
||||
if get_option('buildtype') == 'release' or get_option('buildtype') == 'plain'
|
||||
cargo_build_args += '--release'
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user