니 스위치 쩔드라
- nxzr_core: The NXZR core modules
- nxzr_device: Device and transport modules for working with unix sockets
- nxzr_server: Server daemon application that runs on the guest side
- nxzr_gui: Host GUI application that interacts with
nxzr_server
- nxzr_shared: Shared utilities used across the project
- nxzr_proto: The gRPC IDLs
At the time of writing, Rust Workspaces feature doesn't respect per-workspace .cargo/config.toml
. So, you will want to directly move into each crate instead to run build:
cd nxzr_server && cargo build
Tracking issues:
You may want to open each workspace per editor since rust-analyzer does not work well with VSCode Workspaces feature.
Due to platform mismatches, some dependencies are marked as "optional" for some crates.
Because of the this, opening the entire project as a whole in VSCode might fail to run cargo check
internally.
In order to work with cross-compiling projects, you will want to use cross
instead.
Make sure the Docker daemon is running on your system which allows you to cross-compile projects.
Then, open a project directly to work with cross
:
code nxzr_device
Tracking issues:
Make sure to install required components:
rustup component add rustfmt
rustup component add clippy
This project includes multi compilation targets, so it may fail to build when
commands like cargo check
is executed on the project root.
Please refer to "Caveats when using VSCode Workspaces feature" section above if you want to cross-compile projects.