edef1c / libfringe

a Rust library implementing safe, lightweight context switches, without relying on kernel services
https://edef1c.github.io/libfringe
Apache License 2.0
512 stars 31 forks source link

File not found or module 'imp' #47

Closed SethDusek closed 8 years ago

SethDusek commented 8 years ago

Compiling fringe v1.0.5 (https://github.com/nathan7/libfringe.git#1df75900) /home/kamal/.cargo/git/checkouts/libfringe-2dc7659ef57cab6f/master/src/arch/mod.rs:15:5: 15:8 error: file not found for moduleimp /home/kamal/.cargo/git/checkouts/libfringe-2dc7659ef57cab6f/master/src/arch/mod.rs:15 mod imp; ^~~ /home/kamal/.cargo/git/checkouts/libfringe-2dc7659ef57cab6f/master/src/arch/mod.rs:15:5: 15:8 help: name the file either imp.rs or imp/mod.rs inside the directory "/home/kamal/.cargo/git/checkouts/libfringe-2dc7659ef57cab6f/master/src/arch" error: aborting due to previous error error: Could not compilefringe.

I've tried fixing it myself, but some modules from the arch-specific files are for some reason not being imported, and I don't really know what to do further

whitequark commented 8 years ago

Which rustc version?

SethDusek commented 8 years ago

rustc 1.11.0-nightly (ab0b87458 2016-06-13)

whitequark commented 8 years ago

Yeah, you're hitting https://github.com/rust-lang/rust/issues/25544. You need 1.12.

SethDusek commented 8 years ago

Oh, thanks