[PATCH v2 4/5] meson: rename Rust library target
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Oct 24, 2025, 09:51 UTC
- Message-ID
- <20251024-b4-pks-rust-cbindgen-v2-4-4b4bd4f18490@pks.im>
- In-Reply-To
- <20251024-b4-pks-rust-cbindgen-v2-0-4b4bd4f18490@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 25b9ad5a14..1c73549696 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