Add in (unsafe and incorrect) impls of Send/Sync that are now required.

This commit is contained in:
Richard Dodd
2019-07-06 16:30:29 +01:00
parent 7fe3dfd4f5
commit 2541507789
5 changed files with 16 additions and 18 deletions

View File

@ -130,8 +130,7 @@ impl<'a, 'b> Builder<'a, 'b> {
// returning data through.
if binding.return_via_outptr.is_some() {
drop(webidl_params.next());
self.args_prelude
.push_str("const retptr = 8;\n");
self.args_prelude.push_str("const retptr = 8;\n");
arg_names.push("retptr".to_string());
}