klutzy / rust-windows

work-in-progress Win32/Win64 wrapper for Rust (INACTIVE PROJECT: has no proper goal right now)
Other
57 stars 14 forks source link

Updating code to work with Rust 1.0.0. Again #22

Closed gentoo90 closed 9 years ago

gentoo90 commented 9 years ago

rustc 1.0.0-nightly (93f7fe32d 2015-04-10) (built 2015-04-11) this time

majkcramer commented 9 years ago

Greate work!

rustc 1.0.0-nightly (a52182ffd 2015-04-17) (built 2015-04-17) produces another issue:

C:\Users\blafasel\Downloads\rust-windows-new-rust-fix\rust-windows-new-rust-fix>car go build Compiling user32-sys v0.1.0 Compiling kernel32-sys v0.1.0 Compiling gdi32-sys v0.1.0 Compiling libc v0.1.6 Compiling log v0.3.1 Compiling winapi v0.1.17 Compiling rust-windows v0.0.1 (file:///C:/Users/blafasel/Downloads/rust-windows- new-rust-fix/rust-windows-new-rust-fix) src\wchar.rs:108:9: 108:12 error: use of undeclared trait name Str src\wchar.rs:108 impl ToCU16Str for Option

error: aborting due to previous error Could not compile rust-windows.

gentoo90 commented 9 years ago

Maybe CU16String can be replaced by std::ffi::OsString/std::ffi::OsStr