Remove hardcoded live filesystem

This commit is contained in:
Jeremy Soller
2017-05-11 21:16:07 -06:00
parent 62d3f4bd93
commit 32b0c06314

View File

@@ -11,7 +11,7 @@ use syscall::error::*;
use syscall::flag::{MODE_FILE, SEEK_SET, SEEK_CUR, SEEK_END};
use syscall::scheme::Scheme;
static FILESYSTEM: &'static [u8] = include_bytes!("../../../build/filesystem.bin");
static FILESYSTEM: &'static [u8] = include_bytes!(env!("FILESYSTEM"));
struct Handle {
path: &'static [u8],