mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 04:00:24 +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.
|
# For rust sub-projects.
|
||||||
#
|
#
|
||||||
cargo_build_args = ['--quiet']
|
cargo_build_args = ['--quiet']
|
||||||
if get_option('buildtype') == 'release'
|
if get_option('buildtype') == 'release' or get_option('buildtype') == 'plain'
|
||||||
cargo_build_args += '--release'
|
cargo_build_args += '--release'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user