wavedrom is a digital timing diagram generator based on WaveDrom.
Features:
- [x] All original WaveDrom Signal Types
- [x] Signal Groups
- [x] Arrows and Indicator Markers
- [x] Headers and Footers
- [x] Cycle Enumeration Markers
- [x] Editor Website through WASM
- [x] MdBook Preprocessor
- [x] Full Customization via Skins
misc/wavedrom: Fix build with rust 1.99.0
Fix the following error:
error: invalid definition of the runtime `free` symbol used by the standard
library
--> wavedrom-wasm/src/lib.rs:21:1
|
21 | pub unsafe extern "C" fn free(ptr: *mut u8, size: usize) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected `unsafe extern "C" fn(*mut c_void)` (for the current target)
found `unsafe extern "C" fn(*mut u8, usize)`
= help: either fix the signature or remove any attributes like
`#[unsafe(no_mangle)]`, `#[unsafe(export_name = "free")]`, or `#[link_name =
"free"]`
= note: `#[deny(invalid_runtime_symbol_definitions)]` on by default
PR: 299016
Approved by: portmgr (build fix blanket)