Re: [PATCH RFC v2 1/7] meson: add infrastructure to build internal Rust library
- From
Justin Tobler <jltobler@gmail.com>
- Date
- Sep 5, 2025, 17:47 UTC
- Message-ID
- <l3apalzo6m5kydmfn6c376rswnfw5h34xpxauqarvxmlaksf6i@dhhdbat6gso3>
- In-Reply-To
- <20250905-b4-pks-rust-breaking-change-v2-1-6939cbf4a0b8@pks.im>
On 25/09/05 01:50PM, Patrick Steinhardt wrote:
Show 7 quoted lines
> +# The 'rust' module was only introduced in Meson 1.0. Furthermore, the module
> +# does not seem to work on macOS as expected right now. As such, we only
> +# conditionally enable tests.
> +if meson.version().version_compare('>=1.0.0') and host_machine.system() != 'darwin'
> + rustmod = import('rust')
> + rustmod.test('rust', libgit_rs)
> +endifOut of curiousity, what is the problem that we are seeing with macOS? I removed the darwin guard statement and didn't notice any problems when running `meson test rust`. Is this a well known problem with the Rust module?
-Justin