Skip to content

Commit

Permalink
Add comment to wasm_lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Nov 13, 2024
1 parent 72133a5 commit a0bb145
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/wasm_lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#![allow(special_module_name)]

mod lib;

# This is an hack, but currently there are no ways to change
# the crate-type conditionally, and Wasm extensions and native
# extensions need two different defaults.

# This file sole purpose is remapping the content of lib as an
# example, so that it can be built via:
# cargo built --example package_name

0 comments on commit a0bb145

Please sign in to comment.