mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 02:13:24 +00:00
Gone with x86_64-custom
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
e3c227ae06
commit
7eac2772d0
@ -3,13 +3,14 @@
|
||||
use std::process;
|
||||
|
||||
use super::util::{cargo, COMMON_CARGO_ARGS};
|
||||
use crate::{commands::util::create_target_json, error::Errno, error_msg};
|
||||
use crate::{error::Errno, error_msg};
|
||||
|
||||
pub fn execute_check_command() {
|
||||
let target_json_path = create_target_json();
|
||||
|
||||
let mut command = cargo();
|
||||
command.arg("check").arg("--target").arg(target_json_path);
|
||||
command
|
||||
.arg("check")
|
||||
.arg("--target")
|
||||
.arg("x86_64-unkown-none");
|
||||
command.args(COMMON_CARGO_ARGS);
|
||||
let status = command.status().unwrap();
|
||||
if !status.success() {
|
||||
|
Reference in New Issue
Block a user