unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Efraim Flashner <efraim@flashner.co.il>,
	David Elsing <david.elsing@posteo.net>,
	guix-devel@gnu.org
Subject: Re: Problem building rust application
Date: Fri, 22 Nov 2024 21:31:03 +0100	[thread overview]
Message-ID: <Z0DqBwaogMKe_elv@jurong> (raw)
In-Reply-To: <Zz-IJpbxk4LOrn6-@3900XT>

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	other threads:[~2024-11-22 20:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-20 20:40 Problem building rust application Andreas Enge
2024-11-20 22:27 ` David Elsing
2024-11-21 19:21   ` Efraim Flashner
2024-11-22 20:31     ` Andreas Enge [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z0DqBwaogMKe_elv@jurong \
    --to=andreas@enge.fr \
    --cc=david.elsing@posteo.net \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).