Skip to content

Commit f9aa135

Browse files
committed
Ported all tests to use the new cstring literal syntax.
1 parent 676d8bb commit f9aa135

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+54777
-54777
lines changed

test/common.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ fn println(msg: &str) {
248248
tmp_slice[..msg.len()].clone_from_slice(msg.as_bytes());
249249
tmp_slice[msg.len()] = b'\0';
250250
printf(
251-
"%s\n\0".as_ptr() as *const i8,
251+
c"%s\n".as_ptr() as *const i8,
252252
tmp_slice.as_ptr() as *const i8,
253253
);
254254
free(tmp as *mut core::ffi::c_void);

0 commit comments

Comments
 (0)