authorgravatar for mail@linusgroh.deLinus Groh <mail@linusgroh.de> 2024-03-18 22:15:06+01:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2024-03-19 07:22:50+02:00
logd100a8e2dcc7aa599ec692b71bc5ea5094d73569
tree21f14cdedb33649a8d967c3671c19cd92f8dc35b
parent8e7d9afdacef9d3a9443fc4b70cfe6aa229ecee5

langref: Rename std.fs.wasi.{PreopenList => Preopens}


1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref.html.in+1-1
...@@ -11471,7 +11471,7 @@ pub fn main() !void {...@@ -11471,7 +11471,7 @@ pub fn main() !void {
114711: 123114711: 123
114722: hello{#end_shell_samp#}114722: hello{#end_shell_samp#}
11473 <p>A more interesting example would be extracting the list of preopens from the runtime.11473 <p>A more interesting example would be extracting the list of preopens from the runtime.
11474 This is now supported in the standard library via {#syntax#}std.fs.wasi.PreopenList{#endsyntax#}:</p>11474 This is now supported in the standard library via {#syntax#}std.fs.wasi.Preopens{#endsyntax#}:</p>
11475 {#code_begin|exe|wasi_preopens#}11475 {#code_begin|exe|wasi_preopens#}
11476 {#target_wasi#}11476 {#target_wasi#}
11477const std = @import("std");11477const std = @import("std");