Giter VIP home page Giter VIP logo

gameoflife's People

Contributors

llogiq avatar syntaf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gameoflife's Issues

"error: can't transmute zero-sized type"

This is the output of cargo run --verbose:

       Fresh winapi-build v0.1.1
       Fresh libc v0.2.2
       Fresh bitflags v0.3.3
       Fresh libc v0.1.12
       Fresh winapi v0.2.5
       Fresh lazy_static v0.1.15
   Compiling nix v0.4.2
       Fresh advapi32-sys v0.1.2
       Fresh kernel32-sys v0.2.1
     Running `rustc --crate-name nix /home/owner/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.4.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=836f95bf2ca324c0 -C extra-filename=-836f95bf2ca324c0 --out-dir /home/owner/GameOfLife/target/debug/deps -L dependency=/home/owner/GameOfLife/target/debug/deps --extern bitflags=/home/owner/GameOfLife/target/debug/deps/libbitflags-5ddbaceb203a03b8.rlib --extern libc=/home/owner/GameOfLife/target/debug/deps/liblibc-7da90cc01a854ef1.rlib --cap-lints allow`
       Fresh rand v0.3.12
       Fresh term v0.2.14
       Fresh tempfile v1.1.3
       Fresh gag v0.1.6
error[E0591]: can't transmute zero-sized type
   --> /home/owner/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.4.2/src/sched.rs:168:20
    |
168 |         ffi::clone(mem::transmute(callback), ptr as *mut c_void, flags, &mut cb)
    |                    ^^^^^^^^^^^^^^
    |
    = note: source type: extern "C" fn(*mut std::boxed::Box<std::ops::FnMut() -> isize>) -> i32 {sched::clone::callback}
    = note: target type: *const extern "C" fn(*const std::boxed::Box<std::ops::FnMut() -> isize>) -> i32
    = help: cast with `as` to a pointer instead

error: aborting due to previous error

error: Could not compile `nix`.

Caused by:
  process didn't exit successfully: `rustc --crate-name nix /home/owner/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.4.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=836f95bf2ca324c0 -C extra-filename=-836f95bf2ca324c0 --out-dir /home/owner/GameOfLife/target/debug/deps -L dependency=/home/owner/GameOfLife/target/debug/deps --extern bitflags=/home/owner/GameOfLife/target/debug/deps/libbitflags-5ddbaceb203a03b8.rlib --extern libc=/home/owner/GameOfLife/target/debug/deps/liblibc-7da90cc01a854ef1.rlib --cap-lints allow` (exit code: 101)

terminal missing capability: 'smcup'

This seems to be nice project, however I could not test it:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { err: StringError("terminal missing capability: \'smcup\'") }', src/libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace

Do you think it could be fixed via any settings?

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.