Skip to content

Commit 89b1688

Browse files
committed
cleanup
1 parent 9af2570 commit 89b1688

File tree

2 files changed

+2
-2
lines changed
  • content/blog/2024/12-12-rust-feature-debugging
  • docs/blog/2024/12-12-rust-feature-debugging

2 files changed

+2
-2
lines changed

content/blog/2024/12-12-rust-feature-debugging/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cargo:warning= | ^~~~~~~~~~
2121
cargo:warning=1 error generated.
2222
```
2323

24-
So it looks like some crate is trying to build c code under the hood. That is not a problem on native build targets but it won't fly on **wasm**.
24+
So it looks like some crate is trying to build C-code under the hood which depends on `stdlib.h`. That is not a problem on native build targets but it won't fly on **wasm**.
2525

2626
This happens in the `basis-universal` crate, what could that be good for? Reading up on it's [crates.io page](https://crates.io/crates/basis-universal) we find out that it is:
2727

docs/blog/2024/12-12-rust-feature-debugging/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h1 id="what-happened">What happened</h1>
4040
</span><span>cargo:warning</span><span style="color:#89ddff;">= | </span><span style="color:#82aaff;">^</span><span style="font-style:italic;color:#ff5370;">~~~~~~~~~
4141
</span><span>cargo:warning</span><span style="color:#89ddff;">=</span><span style="color:#c3e88d;">1 </span><span style="color:#82aaff;">error generated.
4242
</span></code></pre>
43-
<p>So it looks like some crate is trying to build c code under the hood. That is not a problem on native build targets but it won't fly on <strong>wasm</strong>.</p>
43+
<p>So it looks like some crate is trying to build C-code under the hood which depends on <code>stdlib.h</code>. That is not a problem on native build targets but it won't fly on <strong>wasm</strong>.</p>
4444
<p>This happens in the <code>basis-universal</code> crate, what could that be good for? Reading up on it's <a href="https://crates.io/crates/basis-universal">crates.io page</a> we find out that it is:</p>
4545
<blockquote>
4646
<p>Bindings for Binomial LLC's basis-universal Supercompressed GPU Texture Codec</p>

0 commit comments

Comments
 (0)