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
I have noticed a couple of issues while trying to use cargo_profile (b585670)
If cargo_profile is specified in the Trunk.toml without <link data-trunk rel="rust" it will be ignored. My guess is that the HTML pipeline will call RustApp::new_default where the profile is set to None.
Also, passing --cargo-profile argument to the CLI does not work either, unless <link data-trunk rel="rust" is present.
The workaround is to specify the profile in the attribute, e.g.
I have noticed a couple of issues while trying to use
cargo_profile
(b585670)If
cargo_profile
is specified in theTrunk.toml
without<link data-trunk rel="rust"
it will be ignored. My guess is that the HTML pipeline will callRustApp::new_default
where the profile is set toNone
.Also, passing
--cargo-profile
argument to the CLI does not work either, unless<link data-trunk rel="rust"
is present.The workaround is to specify the profile in the attribute, e.g.
The text was updated successfully, but these errors were encountered: