[PATCH 2/3] meson: rename Rust library target
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Oct 23, 2025, 07:17 UTC
- Message-ID
- <20251023-b4-pks-rust-cbindgen-v1-2-c19b61b03127@pks.im>
- In-Reply-To
- <20251023-b4-pks-rust-cbindgen-v1-0-c19b61b03127@pks.im>
Rename the Rust library target from `git_rs` to `rust`. The latter is way easier to remember if one wants to compile only that target via `meson compile rust`. Furthermore, this name matches the test target that we have for Rust that can be invoked via `meson test rust`.
Signed-off-by: Patrick Steinhardt <ps@pks.im> --- src/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/meson.build b/src/meson.build index 25b9ad5a147..1c73549696c 100644 --- a/src/meson.build +++ b/src/meson.build @@ -17,7 +17,7 @@ if get_option('buildtype') == 'release' cargo_command += '--release' endif -libgit_rs = custom_target('git_rs', +libgit_rs = custom_target('rust', input: libgit_rs_sources + [ meson.project_source_root() / 'Cargo.toml', ],
-- 2.51.1.930.gacf6e81ea2.dirty