export_fn: add return_raw attribute

This commit is contained in:
J Henry Waugh
2020-08-09 14:19:39 -05:00
parent c5937f990e
commit 07a4541949
12 changed files with 227 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
error: unknown attribute 'unknown'
--> $DIR/export_fn_bad_attr.rs:9:13
|
9 | #[export_fn(unknown = true)]
9 | #[export_fn(unknown = "thing")]
| ^^^^^^^
error[E0425]: cannot find function `test_fn` in this scope