[Top][All Lists]

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

Some more rust/cargo insights

From: Hartmut Goebel
Subject: Some more rust/cargo insights
Date: Sun, 6 Jun 2021 16:15:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2


these day I had spent some more hours struggling with rust ans cargo, trying to get "pre-built" crates.

Summery; Cargo is cruft, no solution found yet.

I tried reusing a crate from the very same place it was built (see enclosed script). Anyhow, this does not work since cargo uses a different "metadata" value, even if noting changed. Based in the verbose output (cargo build -v …) I assume that some parameters of the "destination" build get included into this value.

This meets another observation; when building the sequoia suite, several crates are build several times - even if all builds are performed in the same environment.

Rust's build system is such a cruft - I really would like to throw it where it belongs: into the trash.

Hartmut Goebel

| Hartmut Goebel          |               |
| | compilers which you thought are impossible |

Attachment: rlib-test.scm
Description: Text Data

reply via email to

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