WASIX Preparation

This commit extracts changes to core libraries made in the WASIX branch.

It is not reasonable to extract the partial commit history, so this is
just a batch commit.

The history will make a bit more sense again if we decide to merge the
WASIX branch with full commit history.
This commit is contained in:
Christoph Herzog
2022-12-15 12:14:21 +01:00
parent 47200450b3
commit 5109a407c4
81 changed files with 2008 additions and 500 deletions

View File

@ -51,6 +51,10 @@ impl SinglepassCompiler {
}
impl Compiler for SinglepassCompiler {
fn name(&self) -> &str {
"singlepass"
}
/// Get the middlewares for this compiler
fn get_middlewares(&self) -> &[Arc<dyn ModuleMiddleware>] {
&self.config.middlewares