Add WASI support for the 0.1 branch#271
Conversation
|
I'll leave the decision up to others, but I feel obliged to mention that adding the field to |
|
Personally, I don’t think we should really backport or make non-trivial (especially breaking) changes to the |
|
Agreed. Don't get me wrong, I have serious reservations about any further changes to 0.1. Obviously I am the only one with publishing permissions nowadays, but it is far from my decision alone. I need to be convinced that a further release is truly worth it. Time 0.3 is in progress, which will solve the issues that came up in 0.2, especially regarding it being too heavy as a dependency. I know some crates (not naming any specifically) have decided not to update to 0.2 because of those concerns. That is their choice. While I understand and support the authors of these crates, everyone must understand that that decision has impacts and downstream implications. |
|
As pointer out by Jacob, without naming them, widely used dependencies still depend on In order be compiled to WebAssembly, the current practice is to use forks of these dependencies that embed modified versions of |
I'm in favor of adding the implementation for |
|
@jedisct1 That's not quite what I said. My intent was to say that some crates have rejected a potential upgrade to 0.2. Yes, a number of crates haven't made a decision, but that's not what I was referring to. The fact that 0.1 doesn't compile to wasi is one of the implications I was referring to — 0.1 is not as portable, plain and simple. |
|
The stubs for |
Thanks. Would you mind doing a squash and rebase? |
|
Rebased and squashed! |
And merged. Thanks |
|
Just curious, why pin the wasi dependency? |
|
Because WASI is still a moving target, and 0.10 is a |
Are you looking for an immediate time-rs release, now that this is merged, or is just having it integrated fine while the wasi stuff remains a moving target? |
|
Having an immediate We still have a ton of work to do before WASI leaves the |
|
I'll have a new 0.1 release out later today. |
Tagged and ready to go @ 4235bd8, whenever you have time to publish to crates.io. Thanks for taking a look. |
|
Published. |
This adds WASI support to the v0.1 branch, since some crates still depend on 0.1.x.