Skip to content

Commit ecc85fa

Browse files
committed
---
yaml --- r: 98282 b: refs/heads/master c: 112d01a h: refs/heads/master v: v3
1 parent c3163ca commit ecc85fa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 393191d914a14aa1a0ad10ffe54ff23940671353
2+
refs/heads/master: 112d01a9510192c1e410c6e51e2b2f4d36bc6b63
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b6400f998497c3958f40997a71756ead344a776d
55
refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36

trunk/doc/guide-ffi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ to the C library and afterwards be invoked from there.
263263
A basic example is:
264264

265265
Rust code:
266-
~~~~
266+
~~~~ {.xfail-test}
267267
extern fn callback(a:i32) {
268268
println!("I'm called from C with value {0}", a);
269269
}
@@ -283,7 +283,7 @@ fn main() {
283283
~~~~
284284

285285
C code:
286-
~~~~
286+
~~~~ {.xfail-test}
287287
typedef void (*rust_callback)(int32_t);
288288
rust_callback cb;
289289
@@ -314,7 +314,7 @@ the notification. This will provide a unsafe possibility to access the
314314
referenced Rust object in callback.
315315

316316
Rust code:
317-
~~~~
317+
~~~~ {.xfail-test}
318318
319319
struct RustObject {
320320
a: i32,
@@ -346,7 +346,7 @@ fn main() {
346346
~~~~
347347

348348
C code:
349-
~~~~
349+
~~~~ {.xfail-test}
350350
typedef void (*rust_callback)(int32_t);
351351
void* cb_target;
352352
rust_callback cb;

0 commit comments

Comments
 (0)