all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@libertad.pw>
To: David Craven <david@craven.ch>
Cc: guix-devel@gnu.org
Subject: Re: rust: cargo build-system: how to handle libraries
Date: Wed, 28 Dec 2016 16:49:06 +0000	[thread overview]
Message-ID: <87zijg3sot.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87pokcgg3a.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me>

ng0 <ng0@libertad.pw> writes:

> David Craven <david@craven.ch> writes:
>
>>> Of course I meant Cargo.lock, not Cargo.toml ... so I know what I
>>> have to search for, and this makes it a bit easier than the
>>> previous search.
>>
>> See cargo workspaces:
>> https://github.com/rust-lang/libc/blob/master/Cargo.toml
>> https://github.com/rust-lang/rfcs/blob/master/text/1525-cargo-workspace.md
>
> Aha! Thanks :)
>
>> It's a fairly new thing, you'll have to track down the relevant
>> commits in cargo and check if the cargo version we are using is new
>> enough and understand it's semantics and how it applies to the cargo
>> build system.
>
> Is the cargo version attached to the rustc version? In other
> words, could I try and package cargo 0.15 (released 6 days ago)
> and it will not care about the rustc version?

Okay, I understand how we (currently) package rust and cargo, I
try to upgrade rust to 1.14, maybe this helps.

>> My recommendation to fix this issue is to not run the tests if there
>> isn't a Cargo.lock file, but this is likely not going to solve the
>> underlying cause in this case. You can also package version 0.2.16
>> which does not use workspaces.
>
> Are there mechanisms in place in either (our) cargo build-system
> or cargo in general to disable tests, or do I have to write this
> (if I would run into problems with packaging 0.15 cargo)?
>
> -- 
> ♥Ⓐ  ng0
> PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org

-- 
♥Ⓐ  ng0
PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org

      reply	other threads:[~2016-12-28 16:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-27 23:57 rust: cargo build-system: how to handle libraries ng0
2016-12-28  0:07 ` David Craven
2016-12-28  9:24   ` ng0
2016-12-28  9:26     ` ng0
2016-12-28  9:59       ` David Craven
2016-12-28 16:42         ` ng0
2016-12-28 16:49           ` ng0 [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

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

  git send-email \
    --in-reply-to=87zijg3sot.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me \
    --to=ng0@libertad.pw \
    --cc=david@craven.ch \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.