guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem building rust application


From: Andreas Enge
Subject: Re: Problem building rust application
Date: Fri, 22 Nov 2024 21:31:03 +0100

Hello,

thanks to all who replied to me!

Am Thu, Nov 21, 2024 at 09:21:10PM +0200 schrieb Efraim Flashner:
> Through some playing around I was able to build
> rust-core-graphics-types@0.1.3, but I had to disable the automatic
> linking. Since that crate is specifically for macOS I think the easiest
> option you have is to remove the dependency from Cargo.toml with a
> substitute* and just not include it.

For a start, I just removed rust-core-graphics from the cargo-inputs, but
apparently it was still looked for, so this was not a solution.

The Cargo.toml contains these lines:
[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.23.2"

Is it a mistake in our build system that it does not realise we are not
on macos? Apart from that, there are other specific macos and windows
dependencies that could probably be dropped.

Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]