Skip to content

Unnecessary wasm binaries #333

@larry0x

Description

@larry0x

Currently when we run cargo make rust-optimizer, the following two wasm binaries are generated:

mars_rewards_collector_base-aarch64.wasm
mars_zapper_base-aarch64.wasm

However these two are not actually used (not to be deployed on a chain).

We can avoid compiling them by removing the following line from their Cargo.tomls:

[lib]
crate-type = ["cdylib", "rlib"] # remove!!

Metadata

Metadata

Assignees

No one assigned

    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