72 lines
2.2 KiB
TOML
72 lines
2.2 KiB
TOML
[package]
|
|
name = "relax-provided-fixture"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Relax provided-crate fixture: rustc builds the lib into the `makepad` loader (feature host-shims); `makepad run relax-provided-fixture` runs the bin with the lib bound to it"
|
|
license = "MIT OR Apache-2.0"
|
|
publish = false
|
|
default-run = "relax-provided-fixture"
|
|
|
|
[features]
|
|
# the #[relax_api] wrappers and table entries; only the loader enables it
|
|
host-shims = []
|
|
|
|
[dependencies]
|
|
makepad-relax-api = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
makepad-relax-api = { workspace = true, features = ["host-shims"] }
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "relax-provided-fixture"
|
|
path = "src/main.rs"
|
|
|
|
# `makepad run relax-provided-fixture-guard` must stop with "a field of `Registry` is read from
|
|
# Relax-compiled code"; under rustc it prints 1
|
|
[[bin]]
|
|
name = "relax-provided-fixture-guard"
|
|
path = "src/guard.rs"
|
|
|
|
# panic unwinding through frames with drop guards (driven by compiler/tests/unwind_modes.py)
|
|
[[bin]]
|
|
name = "relax-unwind-probe"
|
|
path = "src/unwind_probe.rs"
|
|
|
|
# the program's own stderr while the session transcript cannot be written (stderr_full.sh)
|
|
[[bin]]
|
|
name = "relax-stderr-flood"
|
|
path = "src/stderr_flood.rs"
|
|
|
|
# makepad inspect's code versions, inlined copies and tier pins against a live program (inspect_tiers.sh)
|
|
[[bin]]
|
|
name = "relax-inspect-tiers"
|
|
path = "src/inspect_tiers.rs"
|
|
|
|
# makepad inspect `locals` values at a parked panic / breakpoint, every tier (inspect_locals.sh)
|
|
[[bin]]
|
|
name = "relax-inspect-locals"
|
|
path = "src/inspect_locals.rs"
|
|
|
|
# makepad inspect probes / eval / static / locals against a live program (inspect_probe.sh)
|
|
[[bin]]
|
|
name = "relax-inspect-probe"
|
|
path = "src/inspect_probe.rs"
|
|
|
|
# the program behind makepad inspect's answer eval: known CPU, memory, panic and hang faults (inspect_eval.sh)
|
|
[[bin]]
|
|
name = "relax-inspect-eval"
|
|
path = "src/inspect_eval.rs"
|
|
|
|
# forks with pre_exec closures (std's fork path) while the JIT is busy: the child must reach exec (fork_busy.sh)
|
|
[[bin]]
|
|
name = "relax-fork-busy"
|
|
path = "src/fork_busy.rs"
|
|
|
|
# a font crate's ScaledFont<F: Font> metrics (blanket impls, dyn) in a hot layout loop: its O3
|
|
# snapshots finish and the boot bar does not stay on them (font_tier.sh)
|
|
[[bin]]
|
|
name = "relax-font-tier"
|
|
path = "src/font_tier.rs"
|