Skip to content

Commit 112d01a

Browse files
committed
Disabled the tests for the new code blocks
1 parent 393191d commit 112d01a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/guide-ffi.md

+4-4
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)