Skip to content

[Bug]: Building the examples don't work (cargo apk + bin = fail) #447

@digama0

Description

@digama0

What happened?

Building the examples according to the instructions fails with the error Error: Invalid args.. This exceptionally bad error message comes from cargo apk, which expects the cargo project to have exactly one artifact, meaning that a [[bin]] section causes it to fail. cargo apk build also fails, for a different reason: it attempts to build all artifacts as Cdylib, which fails on any Bin target. Given that cargo apk is deprecated, I think the best way to solve this on the Hotham side (short of switching to xbuild as the readme suggests) is to remove the [[bin]] sections from these examples. (How are they meant to be used via that entry point anyway?)

Version

0.1.1 (Default)

In which Hotham component are you seeing the problem on?

Example

What VR System are you seeing the problem on?

Quest-2

What OS are you seeing the problem on?

Windows

Relevant log output

No response

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