From eb6f8a664dd93ae09353b489418bef61967b570c Mon Sep 17 00:00:00 2001 From: Matthias Putz Date: Wed, 4 May 2016 15:12:27 +0200 Subject: [PATCH] Fixed initial cargo run due to invalid argument error (linux mint, rust 1.8.0) --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 0caf469..5c47bd0 100644 --- a/build.rs +++ b/build.rs @@ -2,6 +2,7 @@ use std::fs::{OpenOptions}; fn main() { OpenOptions::new().create(true) + .write(true) .open("src/path_to_enlightenment.rs") .unwrap(); }