File tree 3 files changed +49
-11
lines changed
3 files changed +49
-11
lines changed Original file line number Diff line number Diff line change 1
- # ` wasm-snip `
1
+ < div align = " center " >
2
2
3
+ <h1 ><code >wasm-snip</code ></h1 >
4
+
5
+ <strong ><code >wasm-snip</code > replaces a Wasm function's body with an <code >unreachable</code > instruction.</strong >
6
+
7
+ <p >
8
+ <a href="https://travis-ci.org/rustwasm/wasm-snip"><img src="https://img.shields.io/travis/rustwasm/wasm-snip.svg?style=flat-square" alt="Build Status" /></a>
9
+ <a href="https://crates.io/crates/wasm-snip"><img src="https://img.shields.io/crates/v/wasm-snip.svg?style=flat-square" alt="Crates.io version" /></a>
10
+ <a href="https://crates.io/crates/wasm-snip"><img src="https://img.shields.io/crates/d/wasm-snip.svg?style=flat-square" alt="Download" /></a>
11
+ <a href="https://docs.rs/wasm-snip"><img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt="docs.rs docs" /></a>
12
+ </p >
13
+
14
+ <h3 >
15
+ <a href="https://docs.rs/wasm-snip">API Docs</a>
16
+ <span> | </span>
17
+ <a href="https://github.com/rustwasm/wasm-snip/blob/master/CONTRIBUTING.md">Contributing</a>
18
+ <span> | </span>
19
+ <a href="https://discordapp.com/channels/442252698964721669/443151097398296587">Chat</a>
20
+ </h3 >
21
+
22
+ <sub >Built with 🦀🕸 by <a href =" https://rustwasm.github.io/ " >The Rust and WebAssembly Working Group</a ></sub >
23
+ </div >
24
+
25
+ ## About
3
26
4
- [ ![ ] ( https://docs.rs/wasm-snip/badge.svg )] ( https://docs.rs/wasm-snip/ )
5
- [ ![ ] ( https://img.shields.io/crates/v/wasm-snip.svg )] ( https://crates.io/crates/wasm-snip )
6
- [ ![ ] ( https://img.shields.io/crates/d/wasm-snip.png )] ( https://crates.io/crates/wasm-snip )
7
- [ ![ Build Status] ( https://travis-ci.org/rustwasm/wasm-snip.png?branch=master )] ( https://travis-ci.org/rustwasm/wasm-snip )
8
27
9
28
` wasm-snip ` replaces a WebAssembly function's body with an ` unreachable ` .
10
29
Original file line number Diff line number Diff line change 1
- # `{ {crate} }`
1
+ <div align =" center" >
2
+
3
+ <h1 ><code >wasm-snip</code ></h1 >
4
+
5
+ <strong ><code >wasm-snip</code > replaces a Wasm function's body with an <code >unreachable</code > instruction.</strong >
6
+
7
+ <p >
8
+ <a href =" https://travis-ci.org/rustwasm/wasm-snip" ><img src =" https://img.shields.io/travis/rustwasm/wasm-snip.svg?style=flat-square" alt =" Build Status" /></a >
9
+ <a href =" https://crates.io/crates/wasm-snip" ><img src =" https://img.shields.io/crates/v/wasm-snip.svg?style=flat-square" alt =" Crates.io version" /></a >
10
+ <a href =" https://crates.io/crates/wasm-snip" ><img src =" https://img.shields.io/crates/d/wasm-snip.svg?style=flat-square" alt =" Download" /></a >
11
+ <a href =" https://docs.rs/wasm-snip" ><img src =" https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt =" docs.rs docs" /></a >
12
+ </p >
13
+
14
+ <h3 >
15
+ <a href =" https://docs.rs/wasm-snip" >API Docs</a >
16
+ <span > | </span >
17
+ <a href =" https://github.com/rustwasm/wasm-snip/blob/master/CONTRIBUTING.md" >Contributing</a >
18
+ <span > | </span >
19
+ <a href =" https://discordapp.com/channels/442252698964721669/443151097398296587" >Chat</a >
20
+ </h3 >
21
+
22
+ <sub >Built with 🦀🕸 by <a href =" https://rustwasm.github.io/" >The Rust and WebAssembly Working Group</a ></sub >
23
+ </div >
24
+
25
+ ## About
2
26
3
27
{ {readme} }
Original file line number Diff line number Diff line change 1
1
/*!
2
2
3
- [](https://docs.rs/wasm-snip/)
4
- [](https://crates.io/crates/wasm-snip)
5
- [](https://crates.io/crates/wasm-snip)
6
- [](https://travis-ci.org/rustwasm/wasm-snip)
7
-
8
3
`wasm-snip` replaces a WebAssembly function's body with an `unreachable`.
9
4
10
5
Maybe you know that some function will never be called at runtime, but the
You can’t perform that action at this time.
0 commit comments