-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/build-doctests
- Loading branch information
Showing
52 changed files
with
451 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @rust3ds/active |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Setup | ||
description: Set up CI environment for Rust + 3DS development | ||
|
||
inputs: | ||
toolchain: | ||
description: The Rust toolchain to use for the steps | ||
required: true | ||
default: nightly | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
# https://github.com/nektos/act/issues/917#issuecomment-1074421318 | ||
- if: ${{ env.ACT }} | ||
shell: bash | ||
name: Hack container for local development | ||
run: | | ||
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - | ||
sudo apt-get install -y nodejs | ||
- name: Setup default Rust toolchain | ||
# Use this helper action so we get matcher support | ||
# https://github.com/actions-rust-lang/setup-rust-toolchain/pull/15 | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: clippy, rustfmt, rust-src | ||
toolchain: ${{ inputs.toolchain }} | ||
|
||
- name: Install build tools for host | ||
shell: bash | ||
run: sudo apt-get update && sudo apt-get install -y build-essential | ||
|
||
- name: Install cargo-3ds | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: install | ||
# TODO: this should probably just be a released version from crates.io | ||
# once cargo-3ds gets published somewhere... | ||
args: >- | ||
--git https://github.com/rust3ds/cargo-3ds | ||
--rev 78a652fdfb01e2614a792d1a56b10c980ee1dae9 | ||
- name: Set PATH to include devkitARM | ||
shell: bash | ||
# For some reason devkitARM/bin is not part of the default PATH in the container | ||
run: echo "${DEVKITARM}/bin" >> $GITHUB_PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Copyright (C) Rust 3DS Project authors, 2015-2016 | ||
|
||
As with the original ctrulib, this library is licensed under zlib. This | ||
applies to every file in the tree, unless otherwise noted. | ||
|
||
This software is provided 'as-is', without any express or implied | ||
warranty. In no event will the authors be held liable for any | ||
damages arising from the use of this software. | ||
|
||
Permission is granted to anyone to use this software for any | ||
purpose, including commercial applications, and to alter it and | ||
redistribute it freely, subject to the following restrictions: | ||
|
||
1. The origin of this software must not be misrepresented; you | ||
must not claim that you wrote the original software. If you use | ||
this software in a product, an acknowledgment in the product | ||
documentation would be appreciated but is not required. | ||
2. Altered source versions must be plainly marked as such, and | ||
must not be misrepresented as being the original software. | ||
3. This notice may not be removed or altered from any source | ||
distribution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
authors = ["Ronald Kinard <[email protected]>"] | ||
authors = [ "Rust3DS Org", "Ronald Kinard <[email protected]>" ] | ||
description = "A safe wrapper around smealum's ctrulib." | ||
license = "Zlib" | ||
name = "ctru-rs" | ||
|
@@ -15,7 +15,7 @@ name = "ctru" | |
cfg-if = "1.0" | ||
ctru-sys = { path = "../ctru-sys", version = "21.2" } | ||
const-zero = "0.1.0" | ||
linker-fix-3ds = { git = "https://github.com/rust3ds/rust-linker-fix-3ds.git" } | ||
shim-3ds = { git = "https://github.com/rust3ds/shim-3ds.git" } | ||
pthread-3ds = { git = "https://github.com/rust3ds/pthread-3ds.git" } | ||
libc = "0.2.121" | ||
bitflags = "1.0.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.