Files
Brian Cain d6b2cb08a8 examples: Make gaussian build on all targets
Restructure gaussian.rs to follow the pattern used by hex.rs and
connect5.rs.

Remove the 'hexagon' feature gate.
2026-02-15 07:10:55 -06:00

35 lines
649 B
TOML

[package]
name = "stdarch_examples"
version = "0.0.0"
authors = [
"Alex Crichton <alex@alexcrichton.com>",
"Andrew Gallant <jamslam@gmail.com>",
"Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>",
]
description = "Examples of the stdarch crate."
edition = "2024"
default-run = "hex"
[dependencies]
core_arch = { path = "../crates/core_arch" }
quickcheck = "1.0"
rand = "0.8"
[[bin]]
name = "hex"
path = "hex.rs"
[[bin]]
name = "connect5"
path = "connect5.rs"
# Hexagon-only: requires --target hexagon-unknown-linux-musl
[[bin]]
name = "gaussian"
path = "gaussian.rs"
[[example]]
name = "wasm"
crate-type = ["cdylib"]
path = "wasm.rs"