File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 35
35
// to compare their performance, see
36
36
// https://github.com/rust-lang/rust/commit/b90cfc887c31c3e7a9e6d462e2464db1fe506175#diff-43914724af6e464c1da2171e4a9b6c7e607d5bc1203fa95c0ab85be4122605ef
37
37
// for an example of how to do so.
38
-
38
+ /*
39
39
use std::os::raw::{c_char, c_int, c_void};
40
40
41
41
#[no_mangle]
@@ -72,11 +72,12 @@ unsafe extern "C" fn free(ptr: *mut c_void) {
72
72
unsafe extern "C" fn strdup(ptr: *const c_char) -> *mut c_char {
73
73
fjall::c::strdup(ptr)
74
74
}
75
-
75
+ */
76
76
#[ unix_sigpipe = "sig_dfl" ]
77
77
fn main ( ) {
78
78
// See the comment at the top of this file for an explanation of this.
79
79
{
80
+ /*
80
81
#[used]
81
82
static _F1: unsafe extern "C" fn(usize, usize) -> *mut c_void = calloc;
82
83
#[used]
@@ -105,6 +106,7 @@ fn main() {
105
106
#[used]
106
107
static _F7: unsafe extern "C" fn() = _rjem_je_zone_register;
107
108
}*/
109
+ */
108
110
}
109
111
110
112
rustc_driver:: main ( )
You can’t perform that action at this time.
0 commit comments