Skip to content

Missing target flags due to outdated cargo-gpu #600

Description

@Makogan

When updating to the latest rustgpu commit I am encountering the following error:

error: `.json` target specs require -Zjson-target-spec to be added to the cargo invocation

Some digging suggests that for regular cargo to now be able to use custom targets you need this
-Z json-target-spec

But I don't see a way to pass a rustc flag down through cargo gpu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions