pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Using pkgsrc Rust standalone
In my case, it works just fine:
♦
$ which rustc
/usr/pkg/bin/rustc
$ uname -a
Linux ci4c.gq 6.14.0-1007-oracle #7+25.10.1-Ubuntu SMP Thu Jun 19 13:06:24 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
$ echo "fn main() {}" > test.rs
$
$ rustc test.rs
$ echo $?
0
$ ./test
$ rustc --version
rustc 1.88.0 (6b00bc388 2025-06-23) (built from a source tarball)
...
Chavdar
Sent with Proton Mail secure email.
On Monday, 4 August 2025 at 20:43, Tobias Nygren <tnn%NetBSD.org@localhost> wrote:
> On Mon, 4 Aug 2025 21:32:19 +0200
> Benny Siegert bsiegert%gmail.com@localhost wrote:
>
> > The rpath parameter looks wrong! "-Wl,-rpath,/usr/pkg/lib" would be
> > correct with a comma, but with -Xlinker the syntax is apparently different.
> >
> > This does not happen (obviously) during a pkgsrc package build.
> >
> > Any ideas? This is rust-1.85.1 from a few weeks ago.
>
>
> Probably caused by pkgsrc patch-compiler_rustc__codegen__ssa_src_back_linker.rs.
> We'll need to adjust it so it works without the pkgsrc wrappers.
> I'll have a look tomorrow unless you beat me to it.
Home |
Main Index |
Thread Index |
Old Index