Skip to content

Commit

Permalink
Fixed Rust plugin output to adhere to RFC3484. See anderslanglands#15.
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualritz committed Aug 29, 2024
1 parent 58078a8 commit 03d9ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/rust/bbl-rust.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ BBL_PLUGIN_API int bbl_plugin_exec(bbl_context_t cpp_ctx,
}
}

source = fmt::format("{}extern \"C\" {{\n\n", source);
source = fmt::format("{}unsafe extern \"C\" {{\n\n", source);

for (auto fun_id : mod.functions()) {
try {
Expand Down

0 comments on commit 03d9ce1

Please sign in to comment.