commit | 13e4fdbdf0a10cd3133e9d9d9c9f94819348a7b6 | [log] [tgz] |
---|---|---|
author | DragoČ™ Tiselice <dtiselice@google.com> | Fri Mar 25 13:30:46 2022 +0100 |
committer | DragoČ™ Tiselice <dtiselice@google.com> | Fri Mar 25 17:08:35 2022 +0100 |
tree | 605829a490d073fe4804f96cb0655cf2a083893b | |
parent | ed687746f59eb305c0bb287b9106677d7bc08155 [diff] |
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
forma is a highly efficient vector content renderer that makes use of all processor cores and vector units.
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