Ian Chamberlain
545d853a80
Use `cargo --unit-graph` to figure out debuginfo
...
We can check if `ctru-sys` is being built with debuginfo this way, and
use that to build the stdlib with the same linker flags as ctru-sys is
expected to use.
1 year ago
Ian Chamberlain
2276df9d26
Merge pull request #46 from rust3ds/fix/respect-no-run
1 year ago
Ian Chamberlain
2931e5609e
Respect --no-run when using custom runner
...
Also do some other small cleanups for minor optimizations
1 year ago
Meziu
aa0d754d79
Merge pull request #43 from rust3ds/feature/support-custom-runner
...
Add support for custom cargo runner
1 year ago
Ian Chamberlain
6b4fd53f20
Cleanup and add some more comments
...
Minor tweaks like fn names, refactoring a little etc.
Also update README to include an install command, with `--locked` as
well.
1 year ago
Ian Chamberlain
0db0ad3b96
Add support for custom runner
...
Use `cargo config get` to check if the runner is configured, and if so
use it like a normal `cargo run` invocation would. Otherwise, fall back
to the default `3dslink` behavior we had before.
1 year ago
Ian Chamberlain
ab30da9ee7
Check in Cargo.lock and install with `--locked`
...
This is the recommended best practice for binaries, we should do it for
`cargo-3ds` as well. A side effect of this is that we should test build
and installation with the exact Cargo.lock dependencies with `--locked`.
1 year ago
Ian Chamberlain
cda49e09b6
Merge pull request #42 from rust3ds/feature/verbose-flag
1 year ago
Ian Chamberlain
48aa7933a4
Don't build 3dsx for doctests
...
Basically, ensure we follow `should_build_3dsx` all the way through into
the callbacks.
1 year ago
Ian Chamberlain
d374e7016d
Add verbose flag to print cargo commands
...
Also fix minor issue with building test crate for doctests.
1 year ago
Andrea Ciliberti
268c45ae8f
Version bump
1 year ago
Meziu
1372661285
Merge pull request #40 from rust3ds/fix/rustflags
...
Revert RUSTFLAGS removal
1 year ago
Andrea Ciliberti
d2f50fcc84
fmt
1 year ago
Andrea Ciliberti
50530b112f
Revert RUSTFLAGS removal
1 year ago
Meziu
246753119d
Merge pull request #39 from rust3ds/publish
...
fix cargo.toml 2
1 year ago
Andrea Ciliberti
757ce04e98
fix cargo.toml 2
1 year ago
Meziu
3429e3ed9c
Merge pull request #38 from rust3ds/publish
...
Update Cargo.toml before publishing
1 year ago
Andrea Ciliberti
c1f5e121f1
Update Cargo.toml before publishing
1 year ago
Meziu
afc9046365
Merge pull request #37 from rust3ds/feature/ci
...
Basic CI with lints and cargo-new
1 year ago
Andrea Ciliberti
70d5ec1843
Undo wrong changes
1 year ago
Andrea Ciliberti
4560716fcc
Fix >= version check
1 year ago
Andrea Ciliberti
f5bee9a4e5
Slight description change
1 year ago
Andrea Ciliberti
17ce4002e8
Check for oldest supported version
1 year ago
Andrea Ciliberti
ea28cbc788
Newer actions
1 year ago
Andrea Ciliberti
66eb19ed1f
Fixup lint job
1 year ago
Andrea Ciliberti
7e16b8f123
First CI test
1 year ago
Meziu
6c22e506af
Merge pull request #36 from rust3ds/feature/cargo-new
...
General refactoring and cargo-new
1 year ago
Andrea Ciliberti
dd5ed8a480
Fix new Cargo.toml
1 year ago
Andrea Ciliberti
abe088a78c
Update README
2 years ago
Andrea Ciliberti
a0fcbbc57e
Fixed --help docs
2 years ago
Andrea Ciliberti
9b483a8589
Rebased changes
2 years ago
Andrea Ciliberti
eaa93126f4
Merge different commands under a common infrastructure
2 years ago
Andrea Ciliberti
b899ff9d7e
Remove useless RUSTFLAGS changes
2 years ago
Andrea Ciliberti
9b6b79dff2
Callback refactor and cargo-new
2 years ago
Ian Chamberlain
78a652fdfb
Merge pull request #32 from rust3ds/feature/doctests
2 years ago
Ian Chamberlain
6f4b74355a
Merge branch 'master' into feature/doctests
2 years ago
Ian Chamberlain
3e7665fb63
Slightly improve doctest output
...
Warn user that no 3dsx will be built in this case, and use "human"
formatting so that we get colored rustc output (since we don't need to
parse the JSON output in this case anyway).
2 years ago
Meziu
804f63d0bc
Merge pull request #35 from rust3ds/fix/licensing
...
Fix/licensing
2 years ago
Meziu
a1ca4f649a
Update README.md
2 years ago
Andrea Ciliberti
318320200b
Add license files
2 years ago
Andrea Ciliberti
657eeccd1e
Fix licensing
2 years ago
Ian Chamberlain
5a06e64307
Add default CODEOWNERS to auto-add reviews
2 years ago
Ian Chamberlain
e8535a130d
Add limited support for `cargo 3ds test --doc`
2 years ago
Meziu
83032c6a71
Merge pull request #26 from ian-h-chamberlain/feature/clap4-upgrade-extra-args
...
Upgrade to clap4, add extra args and help strings
2 years ago
Ian Chamberlain
329cb00d74
Documentation improvements and extra test case
2 years ago
Ian Chamberlain
dd8ae47296
Plumb through 3dslink args for run + test commands
2 years ago
Ian Chamberlain
dbf1595def
Add plumbing for new commands to running cargo
2 years ago
Ian Chamberlain
583fc67fc6
Update docstrings and arg parsing
...
Also add the most basic `debug_assert` test.
2 years ago
Ian Chamberlain
c2560622e8
Fix some build errors for testing
2 years ago
Ian Chamberlain
cef69644e6
Upgrade to clap4, add extra args and help strings
2 years ago