This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io::prelude::*; | |
use std::fs::File; | |
use std::io::{ Error, ErrorKind }; | |
fn open_file(path: &str) -> Vec<u8> { | |
let mut f = match File::open( path ) { | |
Ok(x) => x, | |
Err(e) => match e.kind() { | |
ErrorKind::NotFound => /*idk what you want to do*/, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL := /bin/bash | |
PATH := .:$(PATH) | |
.PHONY: broken | |
broken: | |
env | |
shell-script | |
.PHONY: also_broken | |
also_broken: |