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
{{ message }}
Repository navigation
Bug: We should make sure multiple rust-wraps work within a workspace #1876
After researching this issue, it doesn't seem possible to support Rust workspaces without significant effort. It is not currently possible to override the behavior of cargo build.
Rust build scripts allow for preprocessing, but can not stop normal compilation (which will fail). A custom Rust target cannot be used to replace compilation with a custom polywrap build invocation, either.
Activity
krisbitney commentedon Sep 12, 2023
After researching this issue, it doesn't seem possible to support Rust workspaces without significant effort. It is not currently possible to override the behavior of
cargo build.Rust build scripts allow for preprocessing, but can not stop normal compilation (which will fail). A custom Rust target cannot be used to replace compilation with a custom
polywrap buildinvocation, either.