Skip to content

Documentation for rlib on mixed app/lib #648

Open
@dakom

Description

@dakom

I created a barebones repository here, which has a library crate at the root (well, in lib/) and then an app (with its own crate) in the examples/ folder: https://github.com/dakom/rust-wasm-lib-boilerplate

The examples didn't work out of the box, until I added rlib to the library's Cargo.toml (interestingly - not the example app's Cargo.toml)

Specifically here and not here

Perhaps this should be documented somewhere?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions