Skip to content

Commit

Permalink
Revert std::path import
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia authored and kornelski committed Nov 30, 2021
1 parent 2132371 commit 6be2aea
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,13 @@ use std::slice;
use std::fmt;
use std::os::raw::{c_char, c_uint, c_long, c_void};
use std::ffi::CStr;
use std::path::*;
use std::io;

use crate::rustimpl;
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
mod libc;

#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
use std::path::PathBuf;

#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
use std::path::Path;

macro_rules! lode_error {
($e:expr) => {
if let Err(e) = $e {
Expand Down

0 comments on commit 6be2aea

Please sign in to comment.