Skip to content

Possibility of compiling on stable Rust? #117

@alexcrichton

Description

@alexcrichton

Hello! Over in the wasm-bindgen project we've got a new proposal which partly entails eventually having a JS parser built into our tooling. The JS parser would need to basically compile ES module syntax to either CommonJS or "linked manually with no modules" style syntax. The swc project seems like it perfectly fits the bill in terms of use cases here!

One hesitation that we'd currently have from using swc is that it looks like it currently requires nightly Rust and also isn't published much on crates.io. I'm curious if y'all have an idea about whether it's feasible in the near-term to compile on stable (and as a bit of a stretch goal publish on crates.io too). That'd make swc a strong possibility for us to use in wasm-bindgen as a dependency!

We're mostly just evaluating our options right now, so "not any time soon" is a totally valid answer too!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions