File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ to the C library and afterwards be invoked from there.
263
263
A basic example is:
264
264
265
265
Rust code:
266
- ~~~~
266
+ ~~~~ {.xfail-test}
267
267
extern fn callback(a:i32) {
268
268
println!("I'm called from C with value {0}", a);
269
269
}
@@ -283,7 +283,7 @@ fn main() {
283
283
~~~~
284
284
285
285
C code:
286
- ~~~~
286
+ ~~~~ {.xfail-test}
287
287
typedef void (*rust_callback)(int32_t);
288
288
rust_callback cb;
289
289
@@ -314,7 +314,7 @@ the notification. This will provide a unsafe possibility to access the
314
314
referenced Rust object in callback.
315
315
316
316
Rust code:
317
- ~~~~
317
+ ~~~~ {.xfail-test}
318
318
319
319
struct RustObject {
320
320
a: i32,
@@ -346,7 +346,7 @@ fn main() {
346
346
~~~~
347
347
348
348
C code:
349
- ~~~~
349
+ ~~~~ {.xfail-test}
350
350
typedef void (*rust_callback)(int32_t);
351
351
void* cb_target;
352
352
rust_callback cb;
You can’t perform that action at this time.
0 commit comments