1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-17 10:41:03 +00:00

always build multicall binary

squashed:
	a2c6b27 - build: automatically generate main() files
	c942f0f - remove MULTICALL=1 build from travis
	cb7b35b - make: remove unnecessary shell command
	69bbb31 - update README
	03a3168 - all: move main() into separate file that links against util crate
	8276384 - make: always build multicall binary
	aa4edeb - make: avoid 'rustc --crate-file-name'
This commit is contained in:
Michael Gehring 2014-06-25 18:47:34 +02:00
parent 8568d41a09
commit 30bba07f9c
55 changed files with 69 additions and 251 deletions

View file

@ -18,7 +18,6 @@ extern crate libc;
#[phase(plugin, link)] extern crate log;
use std::io::{println, File, stdin, stdout};
use std::os;
use std::str;
use getopts::{
@ -92,9 +91,6 @@ pub fn uumain(args: Vec<String>) -> int {
0
}
#[allow(dead_code)]
fn main() { os::set_exit_status(uumain(os::args())); }
fn decode(input: &mut Reader, ignore_garbage: bool) {
let mut to_decode = match input.read_to_str() {
Ok(m) => m,