Giter Club home page Giter Club logo

Comments (2)

keith-hall avatar keith-hall commented on July 24, 2024

you could try following the advice at https://stackoverflow.com/a/69091906/4473405 to checkout files with names which are not valid on Windows

from bat.

clin1234 avatar clin1234 commented on July 24, 2024

That works. Now another error: with --all-features, another compilation error:


error[E0599]: no function or associated item named `assert_from_raw_vec` found for struct `RawOsString` in the current scope
    --> src\lessopen.rs:170:38
     |
170  | ...    RawOsString::assert_from_raw_vec(lessopen_output.stdout),
     |                     ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `RawOsString`
     |
note: if you're trying to build a new `RawOsString` consider using one of the following associated functions:
      RawOsString::new
      RawOsString::from_string
      RawOsString::from_encoded_vec_unchecked
    --> C:\Users\ךינשגכהד\.cargo\registry\src\index.crates.io-6f17d22bba15001f\os_str_bytes-7.0.0\src\raw_str.rs:996:5
     |
996  | /     pub fn new<S>(string: S) -> Self
997  | |     where
998  | |         S: Into<OsString>,
     | |__________________________^
...
1017 |       pub fn from_string(string: String) -> Self {
     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
1043 |       pub unsafe fn from_encoded_vec_unchecked(string: Vec<u8>) -> Sel...
     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0599`.
warning: `bat` (lib) generated 1 warning
error: could not compile `bat` (lib) due to 1 previous error; 1 warning emitted
error: failed to compile `bat v0.24.0 (C:\Users\ךינשגכהד\src\bat)`, intermediate artifacts can be found at `C:\Users\ךינשגכהד\src\bat\target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Omitting the flag allows successful compilation

from bat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.