Wasmer: Use dynasm-rs 1.0 to enable singlepass backend to be compilable on stable Rust 1.45+

Created on 1 Jul 2020  路  4Comments  路  Source: wasmerio/wasmer

Motivation

Compilation on stable Rust release is a major step forward to general stability.

Proposed solution

Rust 1.45 will stabilize some nightly features that were required for dynasm-rs and with the efforts towards compilation on stable Rust release from dynasm-rs team (https://github.com/CensoredUsername/dynasm-rs/issues/31), dynasm-rs 0.7 is ready to be compilable on stable Rust 1.45. It seems that dynasm-rs is the major if not the only piece requiring nightly Rust features, so with Rust 1.45 and dynasm-rs 0.7 it should be possible to have wasmer singlepass backend to be compilable on stable Rust.

馃帀 enhancement

Most helpful comment

dynasm-rs 1.0 is released targeting stable Rust 1.45+ https://github.com/CensoredUsername/dynasm-rs/issues/31 :tada:

All 4 comments

We just ran into this as well, would be great to upgrade to 0.7 and not require nightly

This would be a massive improvement for our development flow as well!

dynasm-rs 1.0 is released targeting stable Rust 1.45+ https://github.com/CensoredUsername/dynasm-rs/issues/31 :tada:

This should now work with the Wasmer refactor on master and singlepass published at https://crates.io/crates/wasmer-compiler-singlepass !

Unfortunately we don't have docs to aid in the transition between the old wasmer and the new wasmer yet, but stay tuned to #1553 for news on their development.

Was this page helpful?
0 / 5 - 0 ratings