Package Details: rust-git 3:1.67.0.r209623.5eef9b2c50d-1

Git Clone URL: (read-only, click to copy)
Package Base: rust-git
Description: Systems programming language focused on safety, speed and concurrency
Upstream URL:
Keywords: mozilla rust
Licenses: MIT, Apache
Conflicts: rust
Provides: rust
Submitter: mrshpot
Maintainer: spider-mario (ishitatsuyuki)
Last Packager: ishitatsuyuki
Votes: 27
Popularity: 0.000000
First Submitted: 2012-01-21 11:30 (UTC)
Last Updated: 2022-11-10 14:57 (UTC)

Required by (1384)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

j_klee commented on 2022-12-28 12:19 (UTC) (edited on 2022-12-28 12:20 (UTC) by j_klee)

I want to compile rust-git against llvm-git (currently 16.0.0), however I get an error, which I do not understand (see below). I already compiled with environment variable RUST_BACKTRACE=1 which makes me not smarter.

thread 'main' panicked at 'setting llvm.link_shared is incompatible with download-ci-llvm.',
stack backtrace:
   0: rust_begin_unwind
         at /rustc/e080cc5a659fb760c0bc561b722a790dad35b5e1/library/std/src/
   1: core::panicking::panic_fmt
         at /rustc/e080cc5a659fb760c0bc561b722a790dad35b5e1/library/core/src/
   2: bootstrap::config::Config::parse_inner
         at ./src/bootstrap/
   3: bootstrap::config::Config::parse
         at ./src/bootstrap/
   4: bootstrap::main
         at ./src/bootstrap/bin/
   5: core::ops::function::FnOnce::call_once
         at /rustc/e080cc5a659fb760c0bc561b722a790dad35b5e1/library/core/src/ops/
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Build completed unsuccessfully in 0:00:30
==> ERROR: A failure occurred in build().
 -> error making: rust-git

ms178 commented on 2022-12-06 22:57 (UTC)

Thanks, I got past that problem eventually (probably due to a re-compile of git).

ishitatsuyuki commented on 2022-12-04 11:15 (UTC)

@ms178 Builds fine for me. Please check that your PKGBUILD clone is up-to-date. If that still doesn't work, re-clone from scratch and try again.

ms178 commented on 2022-12-03 21:26 (UTC)

@ishitatsuyuki I see a strange error while checking out the "src/tools/rust-installer" submodule. It seems that the script can't successfully git-clone that submodule. Is this a known issue? Is there a workaround?

My end goal is to link rust to my custom built LLVM-git system compiler. But as I am a novice with the Rust toolchain, their totally different build process is causing me a lot of headaches, hence I cannot rule out user error.

ishitatsuyuki commented on 2022-11-10 14:59 (UTC)

@bim9262 submitted an update to this package. Thanks!

@spider-mario, would you mind making @bim9262 a co-maintainer?

moormaster commented on 2022-04-29 05:23 (UTC) (edited on 2022-04-29 05:24 (UTC) by moormaster)

It builds for me only if I use the config.toml.example file from the rust git repository to create a config.toml. This can be achieved by changing the following line from PKGBUILD in the build() function

from cp -a "$srcdir/config.toml" .

to cp config.toml.example config.toml

beroal commented on 2021-09-08 11:38 (UTC)

There was an error that src/rust/src/llvm-project/libunwind doesn't exit. I just created this directory by hand.

beroal commented on 2021-09-08 10:08 (UTC)

@weltio I solved your error by changing the profiler parameter in the build section of config.toml from true to false. I have no idea what it does.

beroal commented on 2021-09-08 09:25 (UTC)

Okay, I solved the error by commenting use-jemalloc = false in the [rust] section in config.toml. Why is it not fixed for two years? config.toml belongs to this AUR package, not to Rust.

beroal commented on 2021-09-07 11:52 (UTC)

I'm getting the old error about use-jemalloc. Is it that I'm using an old rust compiler?

$ pacman -Q rust
rust 1:1.54.0-1