Added .cargo configuration.

This add the target-cpu native feature to LLVM to enable
some of the SIMD intrinsics we have defined by default.

This affects all project and builds.

Change-Id: I1cd82e7aeda68e1c476b00f979edf472dc884072
1 file changed
tree: 605829a490d073fe4804f96cb0655cf2a083893b
  1. .cargo/
  2. assets/
  3. benches/
  4. demo/
  5. pristine/
  6. .gitignore
  7. AUTHORS
  8. Cargo.toml
  9. clone.sh
  10. CONTRIBUTING.md
  11. LICENSE
  12. PATENTS
  13. presubmit.sh
  14. README.md
README.md

forma. The parallel CPU vector renderer

forma is a highly efficient vector content renderer that makes use of all processor cores and vector units.

Getting started

Requirements:

Clone the forma repositories from Fuchsia by running:

./clone.sh

Build the demo:

RUSFTLAGS="-C target-cpu=native" cargo build --release

Then run:

./target/release/demo rive assets/rive/juice.riv