From 57f7de1e6dd23ee2662330e7c44444dc35a95ec3 Mon Sep 17 00:00:00 2001 From: Tom Almeida <tommoa256@gmail.com> Date: Thu, 21 Jun 2018 00:16:20 +0800 Subject: [PATCH] Changed FILE to use a vector as a buffer instead of raw pointers. This allows us to remove the large majority of unsafe blocks from the code --- src/stdio/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stdio/src/lib.rs b/src/stdio/src/lib.rs index 1c67857b..9cdf30a7 100644 --- a/src/stdio/src/lib.rs +++ b/src/stdio/src/lib.rs @@ -1,6 +1,7 @@ //! stdio implementation for Redox, following http://pubs.opengroup.org/onlinepubs/7908799/xsh/stdio.h.html #![no_std] +// For Vec #![feature(alloc)] #![feature(const_fn)] -- GitLab