File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
src/main/java/org/truffleruby Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -720,7 +720,6 @@ private void initializeConstants() {
720
720
setConstant (objectClass , "ARGV" , argv );
721
721
722
722
setConstant (truffleModule , "UNDEFINED" , supportUndefined );
723
- setConstant (truffleModule , "LIBC" , frozenUSASCIIString (Platform .LIBC ));
724
723
725
724
setConstant (encodingConverterClass , "INVALID_MASK" , EConvFlags .INVALID_MASK );
726
725
setConstant (encodingConverterClass , "INVALID_REPLACE" , EConvFlags .INVALID_REPLACE );
Original file line number Diff line number Diff line change 31
31
32
32
public abstract class Platform extends BasicPlatform {
33
33
34
- public static final String LIBPREFIX = OS == OS_TYPE .WINDOWS ? "" : "lib" ;
35
34
public static final String LIBSUFFIX = determineLibExt ();
36
- public static final String LIBC = determineLibC ();
37
35
38
36
public static final boolean IS_WINDOWS = OS == OS_TYPE .WINDOWS ;
39
37
40
- private static final String determineLibC () {
41
- switch (OS ) {
42
- case WINDOWS :
43
- return "msvcrt.dll" ;
44
- case LINUX :
45
- return "libc.so.6" ;
46
- default :
47
- return LIBPREFIX + "c." + LIBSUFFIX ;
48
- }
49
- }
50
-
51
38
private static final String determineLibExt () {
52
39
switch (OS ) {
53
40
case WINDOWS :
You can’t perform that action at this time.
0 commit comments