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 3535// to compare their performance, see
3636// https://github.com/rust-lang/rust/commit/b90cfc887c31c3e7a9e6d462e2464db1fe506175#diff-43914724af6e464c1da2171e4a9b6c7e607d5bc1203fa95c0ab85be4122605ef
3737// for an example of how to do so.
38-
38+ /*
3939use std::os::raw::{c_char, c_int, c_void};
4040
4141#[no_mangle]
@@ -72,11 +72,12 @@ unsafe extern "C" fn free(ptr: *mut c_void) {
7272unsafe extern "C" fn strdup(ptr: *const c_char) -> *mut c_char {
7373 fjall::c::strdup(ptr)
7474}
75-
75+ */
7676#[ unix_sigpipe = "sig_dfl" ]
7777fn main ( ) {
7878 // See the comment at the top of this file for an explanation of this.
7979 {
80+ /*
8081 #[used]
8182 static _F1: unsafe extern "C" fn(usize, usize) -> *mut c_void = calloc;
8283 #[used]
@@ -105,6 +106,7 @@ fn main() {
105106 #[used]
106107 static _F7: unsafe extern "C" fn() = _rjem_je_zone_register;
107108 }*/
109+ */
108110 }
109111
110112 rustc_driver:: main ( )
You can’t perform that action at this time.
0 commit comments