Comments (2)
The 3DS software stack doesn't support POSIX calls (since the OS is fundamentally different) except a couple that have been reimplemented or wrapped by the devkitARM
toolchain. Furthermore, in HorizonOS (the 3DS's operating system) there is no windowing system that winit
might even try to leverage, as those are fundamentally specific approaches made for common Linux/Windows/Mac platforms. Unless someone were to manually develop wraps and layers to support those libraries (something I personally believe to be impossible) there is no way those crates are ever going to compile in a functional state.
This is something we mention in the ctru-rs
wiki:
Even while using ctru-rs, modules such as std::process and std::thread (plus most third party crates) may not work (or work differently than originally intended) because of how the OS operates. You can read more about that in System Flaws.
Please, do not expect such complex architecture to just work out-of-the-box with our or devkitARM
's toolchain. This is something outside of our (or even the console's hardware) capabilities.
I suggest you close the issues opened in those third-party crates.
Edit: as a note, the only thing I can suggest you to do is to disable those dependencies in armv6k-nintendo-3ds
builds and rather re-implement the used functionality using libraries closer to the hardware and software stack, like ctru-sys
and ctru-rs
. It's a whole lot of work, but that's just how things are when working for these hyper-specific platforms.
from cargo-3ds.
The winit people said they played around with the idea before, but are not looking at it as a high priority issue. They did mention how they were considering to implement it, so if I ever get the knowledge on how to implement a wrapper for this, I can look at implementing it in the future. In the meantime, I can play around with seeing if I can load it on Linux on the 3DS
from cargo-3ds.
Related Issues (20)
- Handle empty "authors" in Cargo.toml HOT 1
- Allow using a prebuilt std if one is found HOT 3
- the current build seems broken HOT 22
- Missing values in `libc` in latest nightly HOT 9
- Rustdoc no longer working HOT 2
- Issue Building Project using cargo-3ds HOT 21
- `cargo 3ds new` and `init` commands HOT 1
- Add `test --doc` support
- Add basic CI / testing
- no license HOT 3
- Set environment variables for CC and CXX to allow building C/C++ wrapper crates HOT 6
- Build 3dsx for *all* executables built by a given command
- Respect `--no-run` when custom runner is set
- Not building when in release mode on Windows HOT 2
- More comprehensive CI coverage HOT 1
- [Question]: Is the family supposed to say unix? HOT 3
- Error trying to compile on MacOS HOT 2
- When a custom runner is used, see if we can build 3dsx before the runner is invoked
- Customize description, icon etc. per-target instead of per-package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-3ds.