You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
Currently Cranelift uses a cargo workspace structure in which there's a top-level crate, and then subcrates under a lib directory with shortened names:
lib/wasm/ - the cranelift-wasm crate
lib/codegen/ - the cranelift-codegen crate
etc.
I've not seen any other Rust projects organized in this way. What I have seen is that projects create directories under the top level with the full name of their crates. For Cranelift, that would look something like this:
cranelift-wasm/
cranelift-codegen/
etc.
Has anyone found the /lib/foo structure to be confusing? Would the full crate name approach be easier to understand?