News for hackers. Stuff that matters.
Re:State of Rust 0.11.0 by dbaupp on Wednesday July 16, 2014 @12:10AM (#8040529)
Yes, you can expose C symbols from a Rust library:

  #[no_mangle]
  pub extern fn rustlib_increment(x: i32) -> i32 { x + 1 }
#10350 covers actually printing a .h file from Rust code. https://github.com/rust-lang/rust/issues/10530
Re:State of Rust 0.11.0 by jbooth on Wednesday July 16, 2014 @12:13AM (#8040536)
Awesome. I think the ability to write a nice .h file, in particular, will really be the killer feature for Rust as "better systems language". Exporting headers and symbols for higher level languages in a format that's universally understood.