Sha256: d473c73f8132ffa800d33600580304dff778b1b81c69f76eadd826473d136fd3

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

#![no_std]

#![feature(lang_items)]
#![feature(intrinsics)]

extern crate core;
use core::str::StrSlice;

#[lang = "stack_exhausted"] extern fn stack_exhausted() {}
#[lang = "eh_personality"] extern fn eh_personality() {}
#[lang = "fail_fmt"] extern fn fail_fmt() {}

#[no_mangle]
pub extern "C" fn hello_rust() -> *const u8 {
    "Hello, world!\0".as_ptr()
}

#[no_mangle]
pub extern "C" fn rust_example_init() { }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rust_example-0.1.0-x86_64-linux src/lib.rs