mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
Merge pull request #1645 from derekdreery/fix_futures_0_3_hack
Add in (unsafe and incorrect) impls of Send/Sync that are now required.
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user