Commit Graph

226 Commits

Author SHA1 Message Date
425ac8d520 Remove need to use null when passing Rust strings (#4756) 2019-06-20 19:09:50 -07:00
4069ef2e02 Install xargo once (#4753) 2019-06-20 16:49:33 -07:00
ace98bba08 Upgrade BPF sysroot to v0.4 (#4754) 2019-06-20 16:41:49 -07:00
e59b53dfa8 BPF rust language updates (#4752) 2019-06-20 16:07:12 -07:00
b430762a23 check rust programs (#4688) 2019-06-20 07:43:31 -07:00
de3f7e9634 Update Rust program build script paths (#4707) 2019-06-17 14:24:00 -07:00
2a7a9fdf03 Re-org SDK dir (#4690) 2019-06-17 11:04:38 -07:00
b78a13d42c Nits (#4662) 2019-06-12 13:04:24 -07:00
6dbba86cc6 Cleanup rust-utils (#4646)
automerge
2019-06-11 11:42:30 -07:00
9f6496d38a Panic filename (#4625)
automerge
2019-06-10 11:00:15 -07:00
1fa31c9410 .iter fixed, drop enumerate where not needed (#4624)
automerge
2019-06-10 10:19:58 -07:00
66c41b3e8c Enable iter test (#4542)
automerge
2019-06-07 16:44:14 -07:00
9a4c449135 Builtins (#4594)
automerge
2019-06-07 14:38:49 -07:00
64e8a21d73 Add tick height syscall (#4497)
* Remove tick_height from entrypoint signature

* Impl tick_height syscall and use in storage program

* Properly remove tick height from bpf handling
2019-05-31 16:29:21 -06:00
dd39b2b056 Revert --retry-on-http-error usage, Travis CI's wget doesn't recognize it 2019-05-27 19:35:04 -07:00
ed6a438c51 v0.16.0 2019-05-26 19:42:15 -07:00
942785b626 sdk/bpf/scripts/install.sh: Retry downloads on transient 403 S3 failures seen in CI (#4436)
* Avoid caching perf-libs in CI

* Retry downloads on transient 403 S3 failures seen in CI
2019-05-25 14:41:09 -07:00
16b25d0874 Clone with https for Travis/repo with submodules (#4431) 2019-05-24 21:18:31 -04:00
bfa1c025fd Add rust bpf allocator (#4426) 2019-05-24 16:21:42 -07:00
c121498b5b Check that Rust project exists (#4393) 2019-05-22 15:09:59 -07:00
2f7561e4ee Split SDK's BPF Rust-utils (#4369) 2019-05-21 13:39:27 -07:00
1cbd2372fc Revert 4271 workaround (#4367)
* Revert "#4271 not reproducable, remove workaround (#4363)"

This reverts commit ef0580bd3d.

* Remove old comment
2019-05-21 11:53:53 -07:00
28f948aa7f Multi rust projects (#4362) 2019-05-21 11:22:33 -07:00
ef0580bd3d #4271 not reproducable, remove workaround (#4363) 2019-05-20 23:45:09 -07:00
bc74ee7117 Common Rust-BPF utilities and types (#4325) 2019-05-17 11:04:29 -07:00
359c50f1b3 cp -a includes -r (#4312) 2019-05-16 12:24:04 -07:00
7d42ae30d9 Update Rust-BPF to 2018 Edition (#4307) 2019-05-16 09:12:33 -07:00
2bef1b0433 Use rust-bpf-sysroot release branches (#4293) 2019-05-15 12:45:48 -07:00
3204a00e73 Update rust-bpf-sysroot to latest (#4291) 2019-05-15 09:53:44 -07:00
63aadc4905 Turn top-level Cargo.toml into a virtual manifest 2019-03-21 08:47:58 -07:00
e2d30db7e1 Rename tokens to lamports 2019-03-05 17:56:44 -08:00
564057c812 Bump rust-bpf-sysroot to pull in liballoc 2019-02-28 17:25:28 -08:00
cf545e64b8 xargo requiress sysroot as source to build dependent crates 2019-02-28 00:49:06 -08:00
ac1e266588 Bump rust-bpf to pull in built-in target bpfel-unknown-unknown (#3001) 2019-02-28 00:26:50 -08:00
9750488200 Update rust-bpf-sysroot to pull in latest core,stdsimd (#2972) 2019-02-26 19:55:28 -08:00
a8cd66ffa2 Pull Rust enabled LLVM (#2957) 2019-02-26 13:03:57 -08:00
6a61f25735 Only install rust-bpf if rust-bpf version changes (#2939) 2019-02-25 19:09:16 -08:00
a2bf59cbba Ignore rust toolchain and sysroot 2019-02-25 16:40:35 -08:00
329382f016 Pull BPF enabled rustc and sysroot into SDK (#2936) 2019-02-25 15:35:45 -08:00
9abc500269 Fix BPF C tests and run as part of CI (#2540) 2019-01-24 12:15:37 -08:00
a0bc8b8af3 BPF programs can support up to 5 arguments (#2528) 2019-01-23 09:55:08 -08:00
ef8e5b40b6 Use dep files and restore tests 2019-01-14 23:41:07 -08:00
c2add08efb Move parameter to make flags variable 2019-01-14 20:12:06 -08:00
23c43ed21b Multi-file BPF C builds (#2393) 2019-01-11 15:33:21 -08:00
a461c5682d First stab at Rust BPF (#2269)
First stab at Rust BPF
2019-01-02 15:12:42 -08:00
7e3b54f826 Remove llc step when building BPF C programs (#2254) 2018-12-21 08:49:29 -08:00
cefbb7c27d Fix shared object relcations with multiple static arrays (#2121) 2018-12-12 08:41:45 -08:00
54fb4e370c Abort make if scripts/install.sh fails 2018-12-11 21:57:53 -08:00
935524f20c Fix eh frame relocation (#2109)
* Exclude .eh_frame
2018-12-11 12:14:41 -08:00
c57dedb034 Add missing ld.lld wrapper needed for shared objects linking 2018-12-11 09:56:20 -08:00