-
Notifications
You must be signed in to change notification settings - Fork 3
we could implement same function for different target by cfg #15
Comments
@lygstate I'm not sure what you're proposing. Isn't this exactly how things are implemented in |
@jethrogb At least now, std can not used in WebAssembly & MCU(embbeded, bare mental) environement. |
Yes, that is the goal of this working group. See https://github.com/rust-lang-nursery/portability-wg/blob/master/README.md#vision Do you have a concrete proposal that is different from how things are currently done? |
@jethrogb That's great. |
@jethrogb Still have a problem, when bare-metal,
Do std have a option for bare-metal? |
There is no target for bare-metal. |
@IsaacWoods Yeap, I know that:( |
@IsaacWoods I don't see anything fundamental about it. It's a restriction caused by certain implementation details, not a fundamental truth. |
@le-jzr I agreed, using no_std & core & alloc are really frustrating. |
@lygstate I appreciate your interest in our work. We definitely want to make more of That said, you're not really pointing out a specific feature you're missing nor a concrete idea someone can work on. The core of your message appears to be that we're not done yet. This is true, in fact, we're just getting started. |
@jethrogb I target are porting rust - WASM interpreter to bare-metal environment, that's too big, so I'll focus on small target. |
Our initial focus is #1 and in particular #1 (comment) . I'd also suggest joining the IRC channel: #rust-portability on irc.mozilla.org to coordinate. |
for example, alloc for webassembly bare mental (powerfull, microcontroller) and real OS are different story, but we all need the alloc function, can we provide a single function for all of that? Do the same thing with hashmap and all the basic datastructure for pure rust system, and for IO, and asynchronous IO also need a single interface for all.
The text was updated successfully, but these errors were encountered: