process_path icon indicating copy to clipboard operation
process_path copied to clipboard

Build error

Open T-Dynamos opened this issue 3 years ago • 2 comments

    Compiling process_path v0.1.4
error[E0433]: failed to resolve: use of undeclared crate or module `os`
  --> /home/builder/.cargo/registry/src/github.com-1ecc6299db9ec823/process_path-0.1.4/src/lib.rs:58:5
   |
58 |     os::get_executable_path()
   |     ^^ use of undeclared crate or module `os`

error[E0433]: failed to resolve: use of undeclared crate or module `nix`
  --> /home/builder/.cargo/registry/src/github.com-1ecc6299db9ec823/process_path-0.1.4/src/lib.rs:71:9
   |
71 |         nix::get_dylib_path()
   |         ^^^ use of undeclared crate or module `nix`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `process_path` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

T-Dynamos avatar Sep 06 '22 12:09 T-Dynamos

What Rust target are you trying to compile for?

wesleywiser avatar Sep 13 '22 16:09 wesleywiser

What Rust target are you trying to compile for?

Android (Termux) https://github.com/termux/termux-packages/pull/11835

T-Dynamos avatar Sep 13 '22 16:09 T-Dynamos