Skip to content

Instantly share code, notes, and snippets.

struct Entity {
uint32_t id;
};
struct Position {
float x;
float y;
};
struct Physics {
@jefftime
jefftime / main.rs
Last active January 16, 2018 13:32
#![feature(lang_items, start)]
#![no_std]
#[link(name = "c")]
extern {
fn puts(s: *const u8) -> isize;
fn abort() -> !;
}
#[lang = "panic_fmt"]