Fix clang-tidy and formatting

This commit is contained in:
Sergey Kuznetsov
2026-08-21 15:06:03 +01:00
parent 4300c5d7d6
commit e3ceab3f49
4 changed files with 7 additions and 2 deletions

View File

@@ -376,6 +376,7 @@ words:
- vfalco
- vinnie
- wasmi
- wasmparser
- Werror
- wextra
- wptr

View File

@@ -479,7 +479,9 @@ fn an_exported_table_past_the_cap_does_not_pass() {
assert!(refusal.contains("past the 1024-element cap"), "{refusal}");
passes(&module(
&[&format!(r#"(table (export "t") {MAX_TABLE_ELEMENTS} funcref)"#)],
&[&format!(
r#"(table (export "t") {MAX_TABLE_ELEMENTS} funcref)"#
)],
"(i32.const 0)",
));
}

View File

@@ -1,4 +1,4 @@
[toolchain]
channel = "1.95"
components = ["rustfmt", "clippy", "rust-analyzer", "llvm-tools-preview", "rust-src"]
components = ["rustfmt", "clippy", "rust-analyzer", "llvm-tools-preview"]
profile = "minimal"

View File

@@ -20,11 +20,13 @@
// For `TraceDataType`, which the bridge declares and this header defines.
#include <xrpl_wasm_vm_ffi_cxxbridge/lib.h>
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <exception>
#include <expected>
#include <limits>
#include <optional>
#include <string>
#include <string_view>