Better HN
topnewbestaskshowjobs
Log inSign up

77gbnxfr67

4 karma · joined Jul 13, 2020 (6y ago) · 2 submissions

Submissions

comment 6y ago · link · parent

Because in India keeping the wealth within the family is above all other concerns.

comment 6y ago · link · parent

`lld` is incredibly fast and allows medium crates to compile in under a few seconds for me. For people who don't know, if you're on linux put this in the `~/.cargo/config` file, and install the LLVM linker on your system.

```

[target.x86_64-unknown-linux-gnu]

rustflags = [ "-C", "link-arg=-fuse-ld=lld" ]

```

`-Clinker=clang` also works. I think you need a recent `gcc` (8 or newer) for `-fuse-ld=lld`. For `linker=clang` you probably need `clang` installed.

Permalink: https://reddit.com/r/rust/comments/dsfi5m/rust_2020_are_we_c...