1
Fork 0

Use relative path to type

This commit is contained in:
Jan-Erik Rediger 2016-07-14 19:28:54 +02:00
parent 9e706f90cb
commit 12ccff99bf

View file

@ -1030,7 +1030,7 @@ pub fn compile_unit_metadata(scc: &SharedCrateContext,
split_name.as_ptr() as *const _) split_name.as_ptr() as *const _)
}; };
fn fallback_path(scc: &::context::SharedCrateContext) -> CString { fn fallback_path(scc: &SharedCrateContext) -> CString {
CString::new(scc.link_meta().crate_name.clone()).unwrap() CString::new(scc.link_meta().crate_name.clone()).unwrap()
} }
} }