mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
langref: Rename std.fs.wasi.{PreopenList => Preopens}
This commit is contained in:
parent
8e7d9afdac
commit
d100a8e2dc
@ -11471,7 +11471,7 @@ pub fn main() !void {
|
||||
1: 123
|
||||
2: hello{#end_shell_samp#}
|
||||
<p>A more interesting example would be extracting the list of preopens from the runtime.
|
||||
This is now supported in the standard library via {#syntax#}std.fs.wasi.PreopenList{#endsyntax#}:</p>
|
||||
This is now supported in the standard library via {#syntax#}std.fs.wasi.Preopens{#endsyntax#}:</p>
|
||||
{#code_begin|exe|wasi_preopens#}
|
||||
{#target_wasi#}
|
||||
const std = @import("std");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user