From 56a43b466bebb19e0bf68795e2738542b4d5cf2b Mon Sep 17 00:00:00 2001 From: psykose Date: Mon, 4 Nov 2024 00:39:50 +0100 Subject: [PATCH] include custom env in devenv now you can just meson devenv -C build and run whatever cargo commands in there manually instead of needing a run_command for each --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 8013304..a99ed19 100644 --- a/meson.build +++ b/meson.build @@ -52,6 +52,7 @@ endif cargo = find_program('cargo') cargo_env = environment() cargo_env.set('MESON_BUILD_ROOT', meson.project_build_root()) +meson.add_devenv(cargo_env) custom_target( 'cargo-build',