File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11@since (version = 0.3.0-rc-2025-08-15 )
2- interface stdio {
2+ interface types {
33 @since (version = 0.3.0-rc-2025-08-15 )
44 enum error-code {
55 /// Input/output error
@@ -13,6 +13,8 @@ interface stdio {
1313
1414@since (version = 0.3.0-rc-2025-08-15 )
1515interface stdin {
16+ use types . {error-code };
17+
1618 /// Return a stream for reading from stdin.
1719 ///
1820 /// This function returns a stream which provides data read from stdin,
@@ -32,6 +34,8 @@ interface stdin {
3234
3335@since (version = 0.3.0-rc-2025-08-15 )
3436interface stdout {
37+ use types . {error-code };
38+
3539 /// Write the given stream to stdout.
3640 ///
3741 /// If the stream's writable end is dropped this function will either return
@@ -46,6 +50,8 @@ interface stdout {
4650
4751@since (version = 0.3.0-rc-2025-08-15 )
4852interface stderr {
53+ use types . {error-code };
54+
4955 /// Write the given stream to stderr.
5056 ///
5157 /// If the stream's writable end is dropped this function will either return
You can’t perform that action at this time.
0 commit comments