Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s5bug/zagclear
Transporting Cold Clear over USB
https://github.com/s5bug/zagclear
Last synced: 1 day ago
JSON representation
Transporting Cold Clear over USB
- Host: GitHub
- URL: https://github.com/s5bug/zagclear
- Owner: s5bug
- Created: 2020-08-15T22:17:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T07:33:44.000Z (about 4 years ago)
- Last Synced: 2024-11-10T16:12:39.704Z (about 2 months ago)
- Language: Zig
- Homepage:
- Size: 20.6 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zagclear
zagclear is a combination of a remote static library and a host executable that
allows for using [Cold Clear](https://github.com/MinusKelvin/cold-clear) on a
device that is either not supported by Rust or not powerful enough to run Cold
Clear itself, but can communicate with Rust-supported or stronger devices.## Building
First, you'll want to build `cold-clear`. _TODO: how_
To build the Zig project, you will want to call
`zig build -Drelease-fast=true -Dtarget-host= -Dtarget-remote=`
where `` and `` are LLVM triples. For example, if compiling on
Linux, and the intended host is 64-bit Windows, and the intended remote is
Nintendo Switch, you would install MinGW headers, set
`-Dhost-target=x86_64-windows-gnu`, and set
`-Dremote-target=aarch64-freestanding`.## Usage
On the host, all you will have to do is run the executable Zig provides in
`zig-cache/bin`. For the remote, Zig will generate a static library in
`zig-cache/lib` and a header in `zig-cache/include`.