diff options
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/rust_test_helpers.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rt/rust_test_helpers.c b/src/rt/rust_test_helpers.c index 320cd3dbd85..00bfa63e6fe 100644 --- a/src/rt/rust_test_helpers.c +++ b/src/rt/rust_test_helpers.c @@ -158,6 +158,11 @@ rust_get_test_int() { return 1; } +char * +rust_get_null_ptr() { + return 0; +} + /* Debug helpers strictly to verify ABI conformance. * * FIXME (#2665): move these into a testcase when the testsuite |
