Open
Description
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.
<link data-trunk rel="rust" data-type="main" data-cargo-profile-release="release_trunk" />
Metadata
Metadata
Assignees
Labels
No labels
Activity