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
Fenrir
602f632e4a
Overhaul Instant impl
8 years ago
Fenrir
1f35866047
Yet another bugfix
...
Also renamed stuff and improved the documentation
8 years ago
Fenrir
2121f1782f
use libc types in Instant impl
8 years ago
Fenrir
f6a8aea497
fix Instant impl
8 years ago
Fenrir
dcf862c3db
use svcGetSystemTick for Instant
8 years ago
Fenrir
2ed837f8e1
ctr-std: Add Time module
8 years ago
Ronald Kinard
193d21e4d2
Merge pull request #19 from FenrirWolf/thread_local
...
Implement thread local storage
8 years ago
Fenrir
0436b3a945
Add thread local storage support
8 years ago
Ronald Kinard
d5af9faac9
Merge pull request #16 from FenrirWolf/collections
...
ctr-std: add collections module
8 years ago
Fenrir
c8d69a25e7
ctr-std: add collections module
8 years ago
Ronald Kinard
20a7da8cfa
Merge pull request #15 from FenrirWolf/std
...
Standard library support, for reals this time.
8 years ago
Fenrir
47e4c16118
ctru-rs: impl Seek for File
8 years ago
Fenrir
2719d9488f
ctr-std: Fix panic message formatting
8 years ago
Fenrir
25b2b10ff6
ctru-rs: impl Read and Write for File
8 years ago
Fenrir
e6f3d78215
ctru-rs: Add Error module
8 years ago
Fenrir
ab1a105174
ctr-libc: remove conditional dependency on std
...
I'd thought that it would be necessary for implementing features such as the std::os::raw types in ctr-std, but I do not believe that that is the case.
8 years ago
Fenrir
dffce57257
Bring in all the crates
8 years ago
Fenrir
08b71a18cd
We stdlib now
8 years ago
Fenrir
119b536353
Update Cargo.toml
8 years ago