ladybird/Libraries/LibJS/Rust/src
Andrew Kaster 92e4c20ad5 LibJS: Generate FFI header using cbindgen instead of hand-rolling
Replace the BytecodeFactory header with cbindgen.

This will help ensure that types and enums and constants are kept in
sync between the C++ and Rust code. It's also a step in exporting more
Rust enums directly rather than relying on magic constants for
switch statements.

The FFI functions are now all placed in the JS::FFI namespace, which
is the cause for all the churn in the scripting parts of LibJS and
LibWeb.
2026-03-17 20:49:50 -05:00
..
bytecode LibJS: Generate FFI header using cbindgen instead of hand-rolling 2026-03-17 20:49:50 -05:00
parser LibJS/Rust: Apply lint clippy::redundant_clone 2026-03-16 13:55:16 -05:00
ast.rs LibJS/Rust: Apply lint clippy::semicolon_if_nothing_returned 2026-03-16 13:55:16 -05:00
ast_dump.rs LibJS/Rust: Apply lint clippy::semicolon_if_nothing_returned 2026-03-16 13:55:16 -05:00
lexer.rs Meta: Add 'cargo clippy -- -D clippy::all' to lint-ci.sh 2026-02-24 16:35:51 +01:00
lib.rs LibJS: Wrap ParseErrorCallback typedef in Option 2026-03-17 20:49:50 -05:00
parser.rs LibJS/Rust: Apply lint clippy::unnecessary_wraps 2026-03-16 13:55:16 -05:00
scope_collector.rs LibJS/Rust: Apply lint clippy::redundant_clone 2026-03-16 13:55:16 -05:00
token.rs LibJS: Add alternative source-to-bytecode pipeline in Rust 2026-02-24 09:39:42 +01:00