Skip to content

Commit

Permalink
standalone cross-platform example for re_renderer (rerun-io#209)
Browse files Browse the repository at this point in the history
* standalone cross-platform example for re_renderer

* moving re_renderer examples over there

* easily run examples on the web

* moving run_wasm stuff outta crates/

* some more css for run_wasm

* good enough for now

* auto-open browser tab

* cleanin up

* whats going on here?

* matching new APIs from main

* fixing bytemuck gate

* setting up a cam

* excluse run_wasm from deny check

* smarter tab opener

* missed one

* minor clarification

* addressing PR comments

* this too

Co-authored-by: Emil Ernerfeldt <[email protected]>
  • Loading branch information
teh-cmc and emilk authored Oct 20, 2022
1 parent ebf90d2 commit bda259b
Show file tree
Hide file tree
Showing 11 changed files with 877 additions and 16 deletions.
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[alias]
# To easily run examples on the web, see https://github.com/rukai/cargo-run-wasm.
# Temporary solution while we wait for our own xtasks!
run-wasm = "run --release --package run_wasm --"
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ jobs:
- uses: EmbarkStudios/cargo-deny-action@v1
with:
rust-version: "1.64.0"
# NOTE(cmc): run_wasm relies on the wasm-bindgen infrastructure of crates, which uses
# much older versions of common crates than we do.
# This is not really an issue for two reasons:
# 1. `run_wasm` is temporary while we build our own xtask/build tools
# 2. those dependencies never end up in an actual binary
arguments: --exclude run_wasm


rs-maturin-linux:
Expand Down
Loading

0 comments on commit bda259b

Please sign in to comment.