maintainer-feedback requested: [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: Fri, 06 Aug 2021 15:53:33 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gecko (Nobody)
<gecko@FreeBSD.org> for maintainer-feedback:
Bug 257661: www/firefox  - error: crate `std` required to be available in rlib
format, but was not found in this form
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257661



--- Description ---
FreeBSD Free_BSD_13 13.0-STABLE FreeBSD 13.0-STABLE #21
stable/13-n246220-a7761d19dac: Sat Jul 10 05:24:41 EDT 2021    
root@Free_BSD_13:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL  amd64 1300511



checking for rustc... /usr/local/bin/rustc
checking for cargo... /usr/local/bin/cargo
checking rustc version... 1.53.0
checking cargo version... 1.53.0
checking for rust host triplet... 
DEBUG: Creating `/tmp/conftestu8g0geds.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/conftest998svens.rlib
/tmp/conftestu8g0geds.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
DEBUG: | 
DEBUG: | error: aborting due to previous error
DEBUG: | 
ERROR: Cannot compile for x86_64-unknown-freebsd13.0 with /usr/local/bin/rustc
The target may be unsupported, or you may not have
a rust std library for that target installed. Try:

  rustup target add x86_64-unknown-freebsd

===>  Script "configure" failed unexpectedly.
Please report the problem to gecko@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/firefox/work/.build/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1