Code Monkey home page Code Monkey logo

Comments (6)

aidanhs avatar aidanhs commented on May 20, 2024

rust-lang/rustup#618 (comment) - rustup issue that seems to make it impossible for crater to install its own rustup if you have a version installed in the default location.

Edit: I was wrong, just a bad error message from rustup

from crater.

aidanhs avatar aidanhs commented on May 20, 2024

The README now suggests for people to use a 'mini' docker environment when testing locally, so I think this is done for now!

from crater.

alkis avatar alkis commented on May 20, 2024

I tried this on windows but crater binary fails to compile with:

   Compiling crater v0.1.0 (file:///C:/Users/alkis/Projects/crater)
error[E0433]: failed to resolve. Use of undeclared type or module `kernel32`
   --> src\run.rs:165:26
    |
165 |             let handle = kernel32::OpenProcess(winapi::winnt::PROCESS_TERMINATE, 0, id);
    |                          ^^^^^^^^ Use of undeclared type or module `kernel32`

error[E0433]: failed to resolve. Use of undeclared type or module `winapi`
   --> src\run.rs:165:48
    |
165 |             let handle = kernel32::OpenProcess(winapi::winnt::PROCESS_TERMINATE, 0, id);
    |                                                ^^^^^^ Use of undeclared type or module `winapi`

error[E0433]: failed to resolve. Use of undeclared type or module `kernel32`
   --> src\run.rs:166:13
    |
166 |             kernel32::TerminateProcess(handle, 101);
    |             ^^^^^^^^ Use of undeclared type or module `kernel32`

error[E0433]: failed to resolve. Use of undeclared type or module `kernel32`
   --> src\run.rs:167:16
    |
167 |             if kernel32::CloseHandle(handle) == 0 {
    |                ^^^^^^^^ Use of undeclared type or module `kernel32`

error: unused extern crate
  --> src\lib.rs:14:1
   |
14 | extern crate libc;
   | ^^^^^^^^^^^^^^^^^^
   |
note: lint level defined here
  --> src\lib.rs:1:9
   |
1  | #![deny(unused_extern_crates)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: aborting due to 5 previous errors

error: Could not compile `crater`.

Is crater not expected to work on windows?

from crater.

aidanhs avatar aidanhs commented on May 20, 2024

Unfortunately crater does not yet work on Windows. This is absolutely a problem and something we need to fix at some point, but we've just not had a chance to get to it yet!

from crater.

alkis avatar alkis commented on May 20, 2024

This is unfortunate. FWIW the README claims that it should work on windows :-)

In any case, do you have any idea how far away this is from working on windows? What is missing?

from crater.

aidanhs avatar aidanhs commented on May 20, 2024

Yeah, the readme needs attention since I don't think that's ever been the case! I'll jot down some thoughts on #149 about Windows support.

from crater.

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.