[Bug 257661] www/firefox - error: crate `std` required to be available in rlib format, but was not found in this form

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 14 Aug 2021 21:27:45 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257661

Christoph Moench-Tegeder <cmt_at_freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|gecko_at_FreeBSD.org           |cmt_at_freebsd.org
             Status|New                         |Closed
                 CC|                            |cmt_at_freebsd.org
         Resolution|---                         |Unable to Reproduce

--- Comment #2 from Christoph Moench-Tegeder <cmt_at_freebsd.org> ---
Your rust installation is broken:

DEBUG: Creating `/tmp/conftestw7o1jkiy.rs` with content:
DEBUG: | pub extern fn hello() { println!("Hello world"); }
DEBUG: Executing: `/usr/local/bin/rustc --crate-type staticlib
--target=x86_64-unknown-freebsd -o /tmp/confteste84riii_.rlib
/tmp/conftestw7o1jkiy.rs`
DEBUG: The command returned non-zero exit status 1.
DEBUG: Its error output was:
DEBUG: | error: crate `std` required to be available in rlib format, but was
not found in this form

That simple helloworld crate (that snipped will not compile to a full
executable) should build regardless of anything firefox related. There's no
firefox code involved here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sat Aug 14 2021 - 21:27:45 UTC

Original text of this message