]> git.lizzy.rs Git - rust.git/commit
Do not silently truncate offsets for `read_at`/`write_at` on emscripten
authorTobias Bucher <tobiasbucher5991@gmail.com>
Sat, 12 May 2018 00:31:38 +0000 (02:31 +0200)
committerMark Simulacrum <mark.simulacrum@gmail.com>
Sat, 12 May 2018 14:39:05 +0000 (08:39 -0600)
commit5d015e1366d4c54f86d02638e2de3c89c43af481
tree1da53a387c53cd62871e28b5f54d6c9c3ed0b8d0
parentbf6804b79c9ecc30009a464b3342df04747381c8
Do not silently truncate offsets for `read_at`/`write_at` on emscripten

Generate an IO error if the offset is out of bounds for the system call.
src/libstd/sys/unix/fd.rs