Skip to content

Commit

Permalink
Only import index.js in rustc.html
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Dec 23, 2023
1 parent 5f79345 commit a70d0d6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/rustc.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@
This demo highlights how far `rustc` can get on this polyfill before failing due to other reasons.
</p>
<script type="module">
import { Fd } from "../dist/fd.js";
import { File, Directory, PreopenDirectory } from "../dist/fs_core.js";
import { WASI } from "../dist/index.js";
import { strace } from "../dist/strace.js";

import { Fd, File, Directory, PreopenDirectory, WASI, strace } from "../dist/index.js";

var term = new Terminal({
convertEol: true,
Expand Down

0 comments on commit a70d0d6

Please sign in to comment.