Trevor Gross 50940109cc
Rollup merge of #137349 - thaliaarchi:io-optional-methods/zkvm, r=Noratrieb
Implement `read_buf` for zkVM stdin

For the zkVM, even when a guest buffer is uninitialized, from the host's perspective it is just a normal piece of memory which was initialized before letting the guest write into it. This makes `sys_read` safe to use with an uninitialized buffer. See https://github.com/risc0/risc0/issues/2853.

cc `@bobbobbio,` `@flaub`

r? `@Noratrieb`

Tracked in https://github.com/rust-lang/rust/issues/136756
2025-02-24 18:46:36 -05:00
..
2025-02-20 19:12:06 +00:00
2025-02-11 13:04:27 -08:00
2025-02-13 13:10:28 -08:00
2025-02-14 07:36:17 -08:00
2025-01-11 06:35:21 +02:00
2025-02-13 13:10:28 -08:00
2025-02-09 17:11:13 +00:00
2025-02-07 16:54:07 +01:00