Skip to content

Commit 448281c

Browse files
committed
fix sysconfigdata
1 parent 73e1c38 commit 448281c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

crates/vm/src/stdlib/sysconfigdata.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,21 @@ pub(crate) mod _sysconfigdata {
1818
"MULTIARCH" => MULTIARCH,
1919
// enough for tests to stop expecting urandom() to fail after restricting file resources
2020
"HAVE_GETRANDOM" => 1,
21+
// Compiler configuration for native extension builds
22+
"CC" => "cc",
23+
"CXX" => "c++",
24+
"CFLAGS" => "",
25+
"CPPFLAGS" => "",
26+
"LDFLAGS" => "",
27+
"LDSHARED" => "cc -shared",
28+
"CCSHARED" => "",
29+
"SHLIB_SUFFIX" => ".so",
30+
"SO" => ".so",
31+
"AR" => "ar",
32+
"ARFLAGS" => "rcs",
33+
"OPT" => "",
34+
"BASECFLAGS" => "",
35+
"BLDSHARED" => "cc -shared",
2136
}
2237
include!(concat!(env!("OUT_DIR"), "/env_vars.rs"));
2338
vars

0 commit comments

Comments
 (0)