Enable BPF shared objects (#2012)

* Switch to BPF ELF shared objects (.so)
This commit is contained in:
jackcmay
2018-12-04 22:03:32 -08:00
committed by GitHub
parent 209040e80e
commit 0cb5ae41c6
7 changed files with 220 additions and 129 deletions

View File

@ -16,7 +16,7 @@ elf = "0.0.10"
env_logger = "0.6.0"
libc = "0.2.44"
log = "0.4.2"
solana_rbpf = "=0.1.4"
solana_rbpf = "=0.1.5"
serde = "1.0.27"
solana-sdk = { path = "../../../sdk", version = "0.11.0" }

View File

@ -16,7 +16,7 @@ use std::path::PathBuf;
use test::Bencher;
/// BPF program file extension
const PLATFORM_FILE_EXTENSION_BPF: &str = "o";
const PLATFORM_FILE_EXTENSION_BPF: &str = "so";
/// Create a BPF program file name
fn create_bpf_path(name: &str) -> PathBuf {
let mut pathbuf = {