automerge
This commit is contained in:
Jack May
2019-06-07 14:38:49 -07:00
committed by Grimes
parent ac6dbf8f04
commit 9a4c449135
7 changed files with 35 additions and 10 deletions

View File

@ -22,6 +22,10 @@ set -e
# Ensure the sdk is installed
"$bpf_sdk"/scripts/install.sh
# Use the SDK's version of llvm to build the compiler-builtins for BPF
export CC="$bpf_sdk/llvm-native/bin/clang"
export AR="$bpf_sdk/llvm-native/bin/llvm-ar"
# Use the SDK's version of Rust to build for BPF
export RUSTUP_TOOLCHAIN=bpf
export RUSTFLAGS="
--emit=llvm-ir \

View File

@ -3,6 +3,10 @@
#![no_std]
#![feature(allocator_api)]
#![feature(alloc_error_handler)]
#![feature(panic_info_message)]
#![feature(compiler_builtins_lib)]
extern crate compiler_builtins;
pub mod alloc;
pub mod entrypoint;