You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today we specify lto=true in Cargo.toml. This is pretty important to get fast&lean mainnet.wasm, but it also means that, when we build the tests with release, we compile nearcore (actually, two nearcores) with lto, which takes ages.
Modern rust has custom profiles, so we can add a contract profile for compiling aurora to wasm, and stick to the default release for tests & standalone runner.
The text was updated successfully, but these errors were encountered:
Today we specify
lto=true
in Cargo.toml. This is pretty important to get fast&leanmainnet.wasm
, but it also means that, when we build the tests with release, we compile nearcore (actually, two nearcores) withlto
, which takes ages.Modern rust has custom profiles, so we can add a
contract
profile for compiling aurora to wasm, and stick to the default release for tests & standalone runner.The text was updated successfully, but these errors were encountered: