- early example of playful code
// javascript implementation
// Suppose you have a variable named `future` which implements the `Future` trait. | |
let future: impl Future = ...; | |
// This gist demonstrates how to run the future until completion using the `stdweb` crate. | |
// The various imports. | |
extern crate futures; | |
extern crate stdweb; |
# Good info on the current PRU remoteproc drivers here: | |
# http://processors.wiki.ti.com/index.php/PRU-ICSS_Remoteproc_and_RPMsg | |
# I mostly just followed this guide: | |
# https://groups.google.com/d/msg/beagleboard/od6h9yTKUD4/jzGE6KaxAQAJ | |
# On the BeagleBone with a 4.4 kernel: | |
# root@beaglebone:~# uname -r | |
# 4.4.11+ |
// javascript implementation
Disclaimer: This is dumb. If anybody knows a better way, I'm all ears.
You have two Android projects. One is a library and one is an app that depends on that library. Both are on your local machine.
Now, say you want to test the library in the app before you publish it. Here's what you do.
You have an app and a lib: