Removed warnings from api
This commit is contained in:
@@ -1,9 +1,7 @@
|
|||||||
pub module builder;
|
pub module builder;
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::env;
|
|
||||||
use std::fs;
|
use std::fs;
|
||||||
use std::path::MAIN_SEPARATOR;
|
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
use std::process::Stdio;
|
use std::process::Stdio;
|
||||||
@@ -45,8 +43,6 @@ pub fn build(mut args Vec<String>, root PathBuf) bool {
|
|||||||
|
|
||||||
let mut mapping = HashMap::new();
|
let mut mapping = HashMap::new();
|
||||||
|
|
||||||
let mist_src = format!(".mist{MAIN_SEPARATOR}src");
|
|
||||||
|
|
||||||
for message in cargo_metadata::Message::parse_stream(&mut reader) {
|
for message in cargo_metadata::Message::parse_stream(&mut reader) {
|
||||||
match message {
|
match message {
|
||||||
Ok[Message::CompilerMessage[msg]] => {
|
Ok[Message::CompilerMessage[msg]] => {
|
||||||
|
|||||||
Reference in New Issue
Block a user