Move path2cstr to rustc_fs_util

This commit is contained in:
Mark Rousskov 2018-08-03 15:37:15 -06:00
parent e3177c6f3f
commit dea13b4bc7
5 changed files with 17 additions and 20 deletions

View file

@ -35,7 +35,7 @@ use rustc::ty::{self, AdtKind, ParamEnv, Ty, TyCtxt};
use rustc::ty::layout::{self, Align, LayoutOf, PrimitiveExt, Size, TyLayout};
use rustc::session::config;
use rustc::util::nodemap::FxHashMap;
use rustc::util::common::path2cstr;
use rustc_fs_util::path2cstr;
use libc::{c_uint, c_longlong};
use std::ffi::CString;