Skip to content

Commit 6c22e50

Browse files
authored
Merge pull request #36 from rust3ds/feature/cargo-new
General refactoring and cargo-new
2 parents 78a652f + dd5ed8a commit 6c22e50

File tree

4 files changed

+309
-124
lines changed

4 files changed

+309
-124
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Commands:
1414
Builds an executable and sends it to a device with `3dslink`
1515
test
1616
Builds a test executable and sends it to a device with `3dslink`
17+
new
18+
Sets up a new cargo project suitable to run on a 3DS
1719
help
1820
Print this message or the help of the given subcommand(s)
1921
@@ -30,14 +32,15 @@ See [passthrough arguments](#passthrough-arguments) for more details.
3032

3133
It is also possible to pass any other `cargo` command (e.g. `doc`, `check`),
3234
and all its arguments will be passed through directly to `cargo` unmodified,
33-
with the proper `RUSTFLAGS` and `--target` set for the 3DS target.
35+
with the proper `--target armv6k-nintendo-3ds` set.
3436

3537
### Basic Examples
3638

3739
* `cargo 3ds build`
3840
* `cargo 3ds check --verbose`
3941
* `cargo 3ds run --release --example foo`
4042
* `cargo 3ds test --no-run`
43+
* `cargo 3ds new my-new-project --edition 2021`
4144

4245
### Running executables
4346

0 commit comments

Comments
 (0)