mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-05-08 21:22:18 +00:00
fix indents
This commit is contained in:
parent
a2b235a818
commit
36c248ac9e
@ -3,7 +3,6 @@ extern crate wasm_utils;
|
|||||||
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
||||||
let args = env::args().collect::<Vec<_>>();
|
let args = env::args().collect::<Vec<_>>();
|
||||||
|
@ -5,7 +5,7 @@ use symbols::{Symbol, expand_symbols, push_code_symbols, resolve_function};
|
|||||||
|
|
||||||
pub fn optimize(
|
pub fn optimize(
|
||||||
module: &mut elements::Module, // Module to optimize
|
module: &mut elements::Module, // Module to optimize
|
||||||
used_exports: Vec<&str>, // List of only exports that will be usable after optimization
|
used_exports: Vec<&str>, // List of only exports that will be usable after optimization
|
||||||
) {
|
) {
|
||||||
// WebAssembly exports optimizer
|
// WebAssembly exports optimizer
|
||||||
// Motivation: emscripten compiler backend compiles in many unused exports
|
// Motivation: emscripten compiler backend compiles in many unused exports
|
||||||
|
Loading…
x
Reference in New Issue
Block a user