Skip to content

Detect non-default build targets for cross compilation #87

@Brendonovich

Description

@Brendonovich

When compiling in GitHub Actions it's necessary to target x86_64-unknown-linux-musl, which currently can only be set using the CARGO_BUILD_TARGET environment variable - and even then, the runtime doesn't know to look in target/x86_64-unknown-linux-musl/... for build artifacts.
Detection of CARGO_BUILD_TARGET would probably be enough, idk if the runtime can be configured with CLI args or via vercel.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions