Skip to content

Commit ef80902

Browse files
committed
Catch up rust update
1. `libnative` has been removed from the rust standard library. Please consult rust-lang/rfcs#230 2. Updated project dependencies.
1 parent 2506b2b commit ef80902

File tree

2 files changed

+12
-19
lines changed

2 files changed

+12
-19
lines changed

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
extern crate gl;
44
extern crate glfw;
5-
extern crate native;
65

76
use std::mem;
87
use std::ptr;
@@ -57,12 +56,6 @@ static FS_SRC: &'static str = r#"
5756
"#;
5857

5958

60-
#[start]
61-
fn start(argc: int, argv: *const *const u8) -> int {
62-
// Run GLFW on the main thread
63-
native::start(argc, argv, main)
64-
}
65-
6659
fn main() {
6760
let glfw = glfw::init(glfw::FAIL_ON_ERRORS).unwrap();
6861

0 commit comments

Comments
 (0)