Andrea Ciliberti
22404a9f14
Print panic backtrace and exit on command
3 years ago
AzureMarker
0b16ff38b8
Update examples so they build
...
I tested all of these and they work.
3 years ago
Andrea Ciliberti
d806412c4d
Cleaned repository
3 years ago
AzureMarker
b01f3df547
Use a Cargo workspace
3 years ago
AzureMarker
0cdc957a6b
Move examples to ctru-rs/examples and delete old Xargo related files
3 years ago
AzureMarker
3041fa8ef1
Delete ctr-std
...
We use the rustc fork now
3 years ago
AzureMarker
f776cc18c6
Minimize ctru-sys build script churn
3 years ago
AzureMarker
9d177faa90
Link pthread-3ds via Cargo instead of static lib
...
This fixes the panic issue (not calling `panic_count::increase`) as well
as the missing debug info. The static lib contained a second copy of the
rust std, which caused these issues.
A side effect of removing this std is that the linker fix and pthread
library modules need to be "reachable" from the main module for Rust to
link them correctly. If the init methods of the modules are not called
somewhere, then a linker error will be emitted saying some symbols are
not found. The linker fix module didn't need this before because the
std included in the pthread static lib required those symbols, so they
were included. Now that the std is linked in later, Rust thinks these
symbols are unused (hence the init method).
Also moved the linker fix to be a dependency on ctru-rs. ctru-sys should
just be about interfacing with libctru.
3 years ago
AzureMarker
55e701ad5c
Add "links" value to ctru-sys Cargo.toml
3 years ago
AzureMarker
70ed800481
Implement Drop for Console so printing doesn't crash after dropping
3 years ago
AzureMarker
ed69327242
Simplify dependency specification
3 years ago
AzureMarker
ba3679199f
Add Soc::host_address
3 years ago
AzureMarker
8dd2f6ebd3
Update dependency reference after linker-fix-3ds PR merged
3 years ago
AzureMarker
271125cabe
Use linker_fix_3ds via dependency instead of static lib
3 years ago
AzureMarker
42e68139cb
Fix Console and Swkbd to not move after initialization
3 years ago
AzureMarker
e6080d0b45
Fix warnings in ctru-rs
3 years ago
AzureMarker
82d0055b22
Update to latest libctru
...
Includes fixes from vivlim and Meziu, such as two static libraries that
fix missing symbols during linking.
3 years ago
Fenrir
6070ddb033
Actually fix every instance of `Qwerty` this time
6 years ago
Fenrir
48d9199714
QUERTY -> QWERTY
6 years ago
FenrirWolf
97c7652fdd
Merge pull request #74 from FenrirWolf/gfx
...
Update and document Gfx module
6 years ago
Fenrir
5d918280e4
Update and document Gfx module
6 years ago
Fenrir
4d7406a743
Write entire panic message to stderr at once
...
This change has also been pushed to ctr-std-horizon, so it will carry over on the next rebase
6 years ago
FenrirWolf
15cb3c1e91
Merge pull request #73 from FenrirWolf/update-2018-08-18
...
Update for nightly-2018-08-18
6 years ago
Fenrir
5d28bfcfd6
Update for nightly-2018-08-18
6 years ago
Valentin
f2a90174bb
Update for latest nightly 2018-06-09 ( #70 )
...
* Update for latest nightly 2018-06-09
* We now have a proper horizon os and sys modules in libstd
7 years ago
FenrirWolf
49041a4e56
Merge pull request #68 from linouxis9/master
...
Update for latest nightly 2018-05-06
7 years ago
Valentin
77c84eb66c
Fixes according to Fenrir's review
7 years ago
FenrirWolf
fed821e9ea
Merge pull request #69 from FenrirWolf/libctru-1.5.0
...
Update bindings for libctru 1.5.0
7 years ago
Fenrir
05ad9c78ec
Update travis config
7 years ago
Fenrir
da8eeb74b9
Update bindings for libctru 1.5.0
7 years ago
linouxis9
79607df25e
Update Travis to latest Nightly ( ͡° ͜ʖ ͡°)
7 years ago
Valentin
a3895d6cf1
Fixes Cargo.toml
7 years ago
linouxis9
4901431b02
Update for latest nightly 2018-05-06
7 years ago
FenrirWolf
71d0a86fbe
Merge pull request #66 from FenrirWolf/swkbd
...
Initial software keyboard support
7 years ago
Fenrir
741ef60a24
Add nul-terminatator to input that expects it
7 years ago
Fenrir
d166c7358f
Add software keyboard example
7 years ago
Fenrir
6070a762e4
Make travis work again
7 years ago
Fenrir
4f776778f1
add `set_hint_text` and `configure_button`
7 years ago
Fenrir
c490600f13
rename `applet` module to `applets`
7 years ago
Fenrir
74de604c4c
make `get_bytes` a safe function
...
libctru seems to ensure that output from the software keyboard is always well-formed
7 years ago
Fenrir
c18bb0d4cb
Initial software keyboard support
7 years ago
FenrirWolf
664fc3ab93
Merge pull request #65 from FenrirWolf/fix-panics
...
Update to new panic ABI
7 years ago
Fenrir
5be1e1181c
Update to new panic ABI
7 years ago
FenrirWolf
159b5b9e62
Merge pull request #64 from FenrirWolf/nightly-update
...
Update for Rust nightly 2018-04-19
7 years ago
Fenrir
b330206f55
Update for Rust nightly 2018-04-19
7 years ago
Fenrir
86e22e59b9
Move more implementation details to `imp` module
7 years ago
Fenrir
e672ad9dfb
Remove thread name functions
...
The only real use for thread names is so that they appear in panic messages. However, names set by this API won't appear in panic messages because we aren't `std::thread` and therefore don't have access to `sys_common::thread_info` where libstd stashes its thread names. So without that functionality, there's not much of a reason to have thread names at all.
7 years ago
Fenrir
e614084585
Add ctru::thread module
7 years ago
Fenrir
d6f52ed12a
Add apt::set_app_cpu_time_limit
7 years ago
Fenrir
52c4b90131
Update pinned nightly
...
Xargo 3.11 doesn't like old nightlies
7 years ago