TechiePi
be42c73234
Remove ``--no-doc-comments`` from ``bindgen.sh``
2 years ago
Ian Chamberlain
da330b2a35
Update bindgen, libctru+newlib and regenerate
3 years ago
Ian Chamberlain
042d5602ce
Add a new enum variant for already redirected
...
Also add libc errno error helper and an errno function in ctru_sys.
3 years ago
Andrea Ciliberti
54085101f3
Bumped ctru-sys to latest libctru version
3 years ago
Ian Chamberlain
92c37b00b7
Add translations of result macros + debug impl
3 years ago
Ian Chamberlain
6b5d420ed2
Use a module instead of include!
...
Modules are better understood by rust-analyzer compared to macros
expansion, and we can still use the same bindgen script and lint attrs.
3 years ago
AzureMarker
f2b1b75224
Apply Clippy suggestions
3 years ago
AzureMarker
a16234c4e1
Run cargo fix to make compatible with Rust 2021
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
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
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
da8eeb74b9
Update bindings for libctru 1.5.0
7 years ago
Fenrir
d1475d0d2c
Ensure that the sysroot uses its own libc
7 years ago
Fenrir
9f5d769afa
Update bindings for libctru v1.4.0
7 years ago
Fenrir
d36057aee0
Use Error applet to display panics
8 years ago
Fenrir
ad54bcd9a5
Update bindings for libctru 1.3.0
8 years ago
Fenrir
370650f4b6
Go back to using pre-generated bindings
...
Bindgen takes a long time to compile, and we only ever need to update
bindings for new ctrulib releases anyway.
8 years ago
Fenrir
cf1f07558a
Use bindgen for ctru_sys bindings
8 years ago
Fenrir
eec80b496b
Use libc from crates.io
...
The libc crate has newlib bindings now, so we don't have to maintain them in-tree anymore
8 years ago
Fenrir
08b71a18cd
We stdlib now
8 years ago
Fenrir
5dc31d60cc
Regenerate gpu bindings
8 years ago
Fenrir
e4cf305807
Regenerate raw service bindings
8 years ago
Fenrir
4991de6d39
Use bitflags for fs services
8 years ago
Fenrir
63d8c50b48
ctru-sys: recreate types.h and libc bindings
8 years ago
Fenrir
539fa2a425
Split out libstd crate
8 years ago
Fenrir
1a4c4915d5
Fix deprecation and stablization warnings
...
The question mark feature was stablized and the Reflect marker trait was deprecated
8 years ago
Fenrir
b1a213f56a
Remove libc OS error functions
...
We aren't actually using any of newlib's error functionality. All of our
errors come from ctrulib functions.
8 years ago
Fenrir
b1779396be
Add io module from libstd
...
Also includes CString and CStr modules
8 years ago
Fenrir
cbd08e83f8
ctru-sys: add errno function
8 years ago
Fenrir
c7e709ffa4
ctru-sys: add proper libc typedefs
8 years ago
Fenrir
b8a08d5b08
Regenerate raw fs bindings
8 years ago
Fenrir
b75b7f804a
Use abort() when panicking
9 years ago
Fenrir
1e66941320
Update bindgen comment
9 years ago
Fenrir
b76009d0d5
moved system libs to sys folder
9 years ago
Fenrir
2feaf8f636
core::fmt::Write support for the console
9 years ago
Fenrir
7b2483622d
Redesigned console API
9 years ago
Fenrir
3329bcb300
More experimental console/stdio stuff.
9 years ago
Fenrir
c314c0098e
Added new bindings
9 years ago
Fenrir
225334fcce
Split raw bindings into a separate crate
9 years ago