Skip to content

Instantly share code, notes, and snippets.

@ozkriff
Created February 22, 2017 11:29
Show Gist options
  • Select an option

  • Save ozkriff/e50cbfca8b8a479400895051de6254da to your computer and use it in GitHub Desktop.

Select an option

Save ozkriff/e50cbfca8b8a479400895051de6254da to your computer and use it in GitHub Desktop.
$ docker run --rm -v `pwd`:/root/src tomaka/android-rs-glue cargo apk
Cargo-Apk: Compiling android_native_app_glue.c
Cargo-Apk: Compiling injected-glue
Cargo-Apk: Compiling injected-glue
Cargo-Apk: Compiling glue_obj
Cargo-Apk: Compiling crate
Downloading gfx_window_glutin v0.12.0
Downloading android_glue v0.2.1
Downloading rusttype v0.2.1
Downloading gfx_core v0.4.0
Downloading glutin v0.6.1
Downloading rand v0.3.14
Downloading collision v0.9.0
Downloading gfx_device_gl v0.11.2
Downloading gfx v0.12.2
Downloading cgmath v0.12.0
Downloading image v0.10.3
Downloading log v0.3.6
Downloading gfx_gl v0.3.1
Downloading draw_state v0.6.0
Downloading bitflags v0.7.0
Downloading bitflags v0.6.0
Downloading gl_generator v0.5.2
Downloading khronos_api v1.0.0
Downloading xml-rs v0.3.4
Downloading libc v0.2.17
Downloading lazy_static v0.2.1
Downloading shared_library v0.1.5
Downloading stb_truetype v0.2.0
Downloading arrayvec v0.3.20
Downloading linked-hash-map v0.0.10
Downloading byteorder v0.4.2
Downloading odds v0.2.22
Downloading nodrop v0.1.8
Downloading approx v0.1.1
Downloading num-traits v0.1.36
Downloading num v0.1.36
Downloading num-bigint v0.1.35
Downloading num-iter v0.1.32
Downloading num-integer v0.1.32
Downloading num-rational v0.1.35
Downloading num-complex v0.1.35
Downloading png v0.5.2
Downloading glob v0.2.11
Downloading enum_primitive v0.1.0
Downloading byteorder v0.5.3
Downloading inflate v0.1.1
Downloading flate2 v0.2.14
Downloading miniz-sys v0.1.7
Downloading gcc v0.3.36
Compiling zoc v0.0.1 (file:///root/src)
warning: unused `#[macro_use]` import
--> src/main.rs:2:1
|
2 | #[macro_use]
| ^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
warning: unused import: `process`
--> src/visualizer.rs:1:11
|
1 | use std::{process, thread, time};
| ^^^^^^^
|
= note: #[warn(unused_imports)] on by default
warning: unused import: `metadata`
--> src/visualizer.rs:3:15
|
3 | use std::fs::{metadata};
| ^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
Finished dev [unoptimized + debuginfo] target(s) in 27.22 secs
Cargo-Apk: Invoking ant
$
$ file target/android-artifacts/build/bin/zoc-debug.apk
target/android-artifacts/build/bin/zoc-debug.apk: Java archive data (JAR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment