From 0f40b7b299bcee163c53481f83e50067cd9878e2 Mon Sep 17 00:00:00 2001 From: Shirayama Kazatsuyu Date: Fri, 5 Nov 2021 09:05:58 +0900 Subject: [PATCH] Fix macos build errors. --- src/apple/cli.rs | 2 +- src/os/macos/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apple/cli.rs b/src/apple/cli.rs index 776e857a..6af2f49a 100644 --- a/src/apple/cli.rs +++ b/src/apple/cli.rs @@ -135,7 +135,7 @@ pub enum Error { MetadataFailed(metadata::Error), Unsupported, ProjectDirAbsent { project_dir: PathBuf }, - OpenFailed(bossy::Error), + OpenFailed(os::OpenFileError), CheckFailed(CheckError), BuildFailed(BuildError), ArchiveFailed(ArchiveError), diff --git a/src/os/macos/mod.rs b/src/os/macos/mod.rs index 01c54eb0..53eec169 100644 --- a/src/os/macos/mod.rs +++ b/src/os/macos/mod.rs @@ -9,7 +9,7 @@ use core_foundation::{ url::CFURL, }; use std::{ - ffi::OsStr, + ffi::{OsStr, OsString}, fmt::{self, Display}, path::{Path, PathBuf}, ptr,