Stream: wasmtime

Topic: wasmtime crates/api renaming?


view this post on Zulip Josh Triplett (Feb 28 2020 at 16:51):

The current discussion on the cranelift merge reminded me: I find it confusing that the primary interface to wasmtime is the crate called "wasmtime" but it lives in "crates/api" for historical reasons.

Could we rename it to crates/wasmtime?

view this post on Zulip fitzgen (he/him) (Feb 28 2020 at 23:03):

I suggested this a while ago and the argument for the current scheme is that you can run cargo run -- ... to build and run the wasmtime cli or cargo install --path . to build and install a local version of wasmtime, which seemed like a useful thing for developers to be able to do.

I'm not totally convinced, but this is also not something I care enough about to raise a stink either way

view this post on Zulip Josh Triplett (Mar 01 2020 at 01:16):

I'm not talking about the top-level crate being wasmtime-cli.

view this post on Zulip Josh Triplett (Mar 01 2020 at 01:16):

I'm talking about the directory name crates/api.

view this post on Zulip Dan Gohman (Mar 01 2020 at 01:22):

I don't recall a reason why we use crates/api, other than that it used to be called wasmtime-api.

view this post on Zulip Dan Gohman (Mar 01 2020 at 01:22):

Renaming it to crates/wasmtime sounds reasonable to me.


Last updated: Dec 23 2024 at 13:07 UTC