Re: [OE-core] [PATCH] Build libstd-rs in release mode to compile mozjs

2021-12-07 Thread Randy MacLeod
On 2021-12-06 3:20 a.m., Alexander Kanavin wrote: On Mon, 6 Dec 2021 at 06:45, pgowda > wrote: When mozjs in firefox is built with DEBUG_BUILD = "1" in local.conf, it will fail with the following error:  rustc-1.56.0-src/vendor/compiler_builtins/s

Re: [OE-core] [PATCH] Build libstd-rs in release mode to compile mozjs

2021-12-06 Thread Alexander Kanavin
On Mon, 6 Dec 2021 at 06:45, pgowda wrote: > When mozjs in firefox is built with DEBUG_BUILD = "1" > in local.conf, it will fail with the following error: >rustc-1.56.0-src/vendor/compiler_builtins/src/int/specialized_div_rem > /asymmetric.rs:57: >more undefined references to `core::panic

[OE-core] [PATCH] Build libstd-rs in release mode to compile mozjs

2021-12-05 Thread Pgowda
When mozjs in firefox is built with DEBUG_BUILD = "1" in local.conf, it will fail with the following error: rustc-1.56.0-src/vendor/compiler_builtins/src/int/specialized_div_rem /asymmetric.rs:57: more undefined references to `core::panicking::panic' follow Switch to building libstd-rs in "r