This will hopefully remove a small thorn in our side with periodic nightly breakage due to nightly features changing. This commit moves lightbeam to stable Rust, swapping out `staticvec` for `arrayvec` and otherwise updating some dependencies (namely `dynasm`) to compile with stable. This then also updates CI appropriately to not use a pinned nightly and instead us a floating `nightly` channel so we can head off any breakage coming up ASAP.
25 lines
518 B
Rust
25 lines
518 B
Rust
#![cfg_attr(test, feature(test))]
|
|
|
|
#[cfg(test)]
|
|
extern crate test;
|
|
|
|
mod backend;
|
|
mod disassemble;
|
|
mod error;
|
|
mod function_body;
|
|
pub mod microwasm;
|
|
mod module;
|
|
mod translate_sections;
|
|
|
|
#[cfg(test)]
|
|
mod benches;
|
|
|
|
pub use crate::backend::CodeGenSession;
|
|
pub use crate::function_body::{
|
|
translate_wasm as translate_function, NullOffsetSink, OffsetSink, Sinks,
|
|
};
|
|
pub use crate::module::{
|
|
translate, ExecutableModule, ExecutionError, ModuleContext, Signature, TranslatedModule,
|
|
};
|
|
pub use disassemble::disassemble;
|