We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73e1c38 commit 448281cCopy full SHA for 448281c
crates/vm/src/stdlib/sysconfigdata.rs
@@ -18,6 +18,21 @@ pub(crate) mod _sysconfigdata {
18
"MULTIARCH" => MULTIARCH,
19
// enough for tests to stop expecting urandom() to fail after restricting file resources
20
"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",
36
}
37
include!(concat!(env!("OUT_DIR"), "/env_vars.rs"));
38
vars
0 commit comments