Ronald Kinard
917e044010
Merge pull request #33 from FenrirWolf/ctrulib-1.3.0
...
Update bindings for libctru 1.3.0
8 years ago
Fenrir
22a855e41a
Use -lctrud for debug builds
8 years ago
Fenrir
ad54bcd9a5
Update bindings for libctru 1.3.0
8 years ago
panicbit
393ef5f8a9
Merge branch 'master' into nightly_update
8 years ago
Ronald Kinard
a9ea24a372
Merge pull request #31 from FenrirWolf/ctrulib-update
...
Regenerate and reorganize ctru-sys bindings
8 years ago
Fenrir
c5bbf130b3
Remove rustc_private workaround
...
Not needed anymore with patched Xargo
8 years ago
Fenrir
1fc8156d31
Fix ctru-rs build script
...
The debug/release stuff isn't used until the next official release of libctru
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
a572fa0a5a
Update libraries for ctru-sys changes
8 years ago
Fenrir
0f919b248f
Handle linking in ctru-rs build script
8 years ago
Fenrir
cf1f07558a
Use bindgen for ctru_sys bindings
8 years ago
panicbit
e0221d9f29
Remove ctr-libc dep from ctr-std
8 years ago
panicbit
d53dc9ae57
Merge branch 'master' into nightly_update
8 years ago
Ronald Kinard
9ecf14ee08
Merge pull request #32 from FenrirWolf/libc-update
...
Remove `ctr-libc`, use upstream `libc` from crates.io
8 years ago
panicbit
ae25aa5845
Merge pull request #1 from FenrirWolf/collections-update
...
Update collections module
8 years ago
Fenrir
03d5b453b9
update collections module
...
also remove deprecated `collections` crate dependency
8 years ago
panicbit
2538d230b8
Add default allocator symbols
8 years ago
panicbit
d86fadb6c7
ctr-std: Migrate to the new liballoc API
8 years ago
panicbit
78ca2a83a7
ctr-std: Add heap allocator shim
8 years ago
panicbit
72df21a4b3
ctr-std: Use liballoc from rust-src
8 years ago
panicbit
5027a3446b
Update target json
8 years ago
Fenrir
30c52fc9de
Update README
8 years ago
Fenrir
4b5b6223c5
ctru-rs: workaround for xargo/sysroot issue
...
Both our implementation of std and ctru-rs depend on the libc crate (or rather, ctru-rs depends on ctru-sys which depends on libc). This means that libc ends up both in the sysroot assembled by Xargo, as well as being built as a regular dependency for ctru-rs. However, it seems that when cargo/rustc tries to link the libc crate to ctru-rs, it first searches in the sysroot and links in the copy that it finds there, rather than the one specified in ctru-rs's Cargo.toml.
rust-lang's rustbuild system does some trickery with crate metadata to avoid this sort of name collision between the sysroot and user deps, but xargo does not (yet) do something similar. And since rustc now enforces that linking to any crate from the sysroot is an unstable operation, the result is a rather cryptic compiler error.
Fortunately we can work around this by simply tagging ctru-rs with #![feature(rustc_private)], but it shouldn't be regarded as a long-term fix
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
Ronald Kinard
9749018832
Merge pull request #30 from kentaromiura/compile_again
...
Make ctru-rs compile again
8 years ago
Cristian Carlesso
6df8c7af93
More changes needed after today's rustup update
8 years ago
Cristian Carlesso
e617cba567
Make ctru-rs compile again
8 years ago
Ronald Kinard
96cfbf9c34
Merge pull request #29 from FenrirWolf/condvar_patch
...
Fix condvar impl
8 years ago
Fenrir
c670414a7b
fix condvar impl
8 years ago
Ronald Kinard
2b547ce605
Merge pull request #27 from FenrirWolf/hashmap
...
Add HashMap and HashSet
8 years ago
Fenrir
78754eb290
Add HashMap and HashSet
8 years ago
Ronald Kinard
276413d9b3
Merge pull request #28 from FenrirWolf/fs
...
Add std::fs module
8 years ago
Ronald Kinard
368ee624e7
Merge pull request #26 from FenrirWolf/thread
...
Initial thread support
8 years ago
Fenrir
3e1d15c34c
Add fs module
8 years ago
Fenrir
ee524875c1
Bump minimum thread stack size
...
FBI uses 64kb threads so it must be legit
8 years ago
Fenrir
fbd756339c
Terminate all threads when panicking
8 years ago
Fenrir
5df4696763
Ensure child threads have higher priority than main
8 years ago
Fenrir
5c02db6cb9
Add the rest of std::sync
8 years ago
Fenrir
5299b505b7
Initial thread support
8 years ago
Ronald Kinard
70bfc59aab
Merge pull request #24 from FenrirWolf/unit_type
...
Make ctru-rs less spooky
8 years ago
Ronald Kinard
4ecade8af1
Merge pull request #22 from FenrirWolf/stdio
...
Implement synchronized stdio
8 years ago
Fenrir
a97d04d63a
Use unit type in subsystem structs
8 years ago
Ronald Kinard
d46ab76c6c
Merge pull request #23 from panicbit/unmarked_api
...
ctr-std: Mark thread::panicking
8 years ago
panicbit
3abf9bdf38
ctr-std: Mark thread::panicking
8 years ago
Fenrir
3f2366df13
implement buffered stdio
8 years ago
Ronald Kinard
32fc84424d
Merge pull request #20 from panicbit/service_ssl
...
Partial sslc service implementation
8 years ago
Ronald Kinard
1cbe822472
Merge pull request #18 from FenrirWolf/time
...
ctr-std: add time module
8 years ago
Ronald Kinard
1c98cb543b
Merge pull request #21 from FenrirWolf/mutex
...
Add sync::mutex
8 years ago
Fenrir
1e3655e44a
Add sync::mutex
8 years ago
panicbit
fa59c30f21
Partial sslc service implementation
8 years ago