console_error_panic_hook - A panic hook for wasm32-unknown-unknown that logs panics with console

  •        17

This crate lets you debug panics on wasm32-unknown-unknown by providing a panic hook that forwards panic messages to console.error. When an error is reported with console.error, browser devtools and node.js will typically capture a stack trace and display it with the logged error message.

https://github.com/rustwasm/console_error_panic_hook

Tags
Implementation
License
Platform

   




Related Projects

human-panic - Panic messages for humans.

  •    Rust

Panic messages for humans. Handles panics by calling std::panic::set_hook to make errors nice for humans. When you're building a CLI, polish is super important. Even though Rust is pretty great at safety, it's not unheard of to access the wrong index in a vector or have an assert fail somewhere.

human-panic - 😱 Panic messages for humans.

  •    Rust

Panic messages for humans. Handles panics by calling std::panic::set_hook to make errors nice for humans. When you're building a CLI, polish is super important. Even though Rust is pretty great at safety, it's not unheard of to access the wrong index in a vector or have an assert fail somewhere.

wasm-pack - πŸ“¦βœ¨ your favorite rust -> wasm workflow tool!

  •    Rust

This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build and publish rust-generated WebAssembly to the npm registry to be used alongside any other javascript package in workflows that you already use, such as webpack or greenkeeper. We generate a wasm-pack.log file if wasm-pack errors on you, and you can customize the log verbosity using the verbosity flag.

wasm-bindgen - Facilitating high-level interactions between wasm modules and JavaScript

  •    Rust

Facilitating high-level interactions between wasm modules and JavaScript. Import JavaScript things into Rust and export Rust things to JavaScript.

wasm-and-rust - WebAssembly and Rust: A Web Love Story

  •    

You can check out about:config (Firefox) or chrome://flags/ (Chrome) and make sure wasm related things are enabled. WebAssembly or WASM is a low-level bytecode format for in-browser client-side scripting, evolved from JavaScript. Its initial aim is to support compilation from C and C++, though other source languages such as Rust are also supported.


rust-sgx-sdk - Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language

  •    Rust

To achieve better security, we recommend developers to apply Non-bypassable Security Paradigm (NbSP) to the system design and implementation. This version supports Rust nightly build (nightly-2018-10-01) in the master branch and the most recent stable build (stable-2018-09-25) in the rust-stable branch. It supports the latest Intel SGX SDK v2.3.1 and Ubuntu Linux 18.04. It now contains further third party libraries including: bit-vec, chrono, erased-serde, fxhash, nan-preserving-float, num-bigint, quick-error, raft-rs, time, webpki-roots, and yasna. Some third party libraries, like untrusted, parity-wasm and lazy-static, are removed because they support no_std and can be used directly from crates.io. We strongly recommend developers upgrade to v1.0.4 and use the most recent Rust release to build it due to the Security advisory for the standard library. Please refer to release_notes for further details.

seed - A Rust framework for creating web apps

  •    Rust

The best place to learn is the guide - this readme is an excerpt from it. This framework requires you to install Rust.

awesome-wasm - 😎 Curated list of awesome things regarding WebAssembly (wasm) ecosystem.

  •    

Collection of awesome things regarding WebAssembly (wasm) ecosystem. Please read the contribution guidelines if you want to contribute.

panicparse - Crash your app in style (Golang)

  •    Go

Parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavily parallelized process.pp streams its stdin to stdout as long as it doesn't detect any panic. panic() and Go's native deadlock detector print to stderr via the native print() function.

takeover

  •    Shell

A script to completely take over a running Linux system remotely, allowing you to log into an in-memory rescue environment, unmount the original root filesystem, and do anything you want, all without rebooting. Replace one distro with another without touching a physical console. This is experimental. Do not use this script if you don't understand exactly how it works. Do not use this script on any system you care about. Do not use this script on any system you expect to be up. Do not run this script unless you can afford to get physical access to fix a botched takeover. If anything goes wrong, your system will most likely panic.

Panic Key Monitor

  •    WPF

Panic Key Monitor is a program that monitors presence of usb flash drive with secret key. If flash drive is removed and no pin code was entered then Panic Key Monitor executes custom batch file. It is developed using VB.NET, Windows Services, WPF, WCF.

wasm-loader - :sparkles: WASM webpack loader

  •    Javascript

This is an experimental feature and thus not activated by default. Everything else in the add.wasm binary will be removed.

mono-wasm

  •    Javascript

This project is a proof-of-concept aiming at building C# applications into WebAssembly, by using Mono and compiling/linking everything statically into one .wasm file that can be easily delivered to browsers. The process does not use Emscripten (or Binaryen) but instead uses the experimental WebAssembly backend of LLVM with clang and lld to generate the final .wasm code. The goal is to use as few dependencies as possible. At the moment the only dependencies are LLVM, clang and lld trunk.

xargo - The sysroot manager that lets you build and customize `std`

  •    Rust

Xargo builds and manages "sysroots" (cf. rustc --print sysroot). Making it easy to cross compile Rust crates for targets that don't have binary releases of the standard crates, like the thumbv*m-none-eabi* targets. And it also lets you build a customized std crate, e.g. compiled with -C panic=abort, for your target. The rust-src component, which you can install with rustup component add rust-src.

yew - Rust framework for building client web apps

  •    Rust

Yew is a modern Rust framework inspired by Elm and ReactJS for creating multi-threaded frontend apps with WebAssembly. NEW! The framework supports multi-threading & concurrency out of the box. It uses Web Workers API to spawn actors (agents) in separate threads and uses a local scheduler attached to a thread for concurrent tasks.

unrust - unrust - A pure rust based (webgl 2.0 / native) game engine

  •    Rust

You can reference basic.rs for now, more documetations will be coming soon. The target wasm32-unknown-unknown is currently only on the nightly builds as of nightly-2018-08-06.

nphysics - 2 and 3-dimensional rigid body physics engine for Rust.

  •    Rust

Examples are available in the examples2d and examples3d directories. Interactive 3D are available there. Because those demos are based on WASM and WebGl 1.0 they should work on most modern browsers. Feel free to ask for help and discuss features on the official user forum.