Skip to content

Commit 43e411b

Browse files
committedJul 16, 2016
Updated deprecations.
1 parent 98e08b1 commit 43e411b

File tree

4 files changed

+2
-9
lines changed

4 files changed

+2
-9
lines changed
 

‎core/deprecations.rb

-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,5 @@ module Rubinius
33
# "Description" => "Alternative"
44
"Ruby 2.1 features that are incompatible with Ruby 2.2 are deprecated." =>
55
"Use Ruby 2.2 features if they are available.",
6-
"Rubinius::KERNEL_PATH is deprecated." => "Use Rubinius::CORE_PATH instead.",
7-
"Support for 32-bit platforms is deprecated." =>
8-
"Use 64-bit platforms or open an issue if 32-bit support is a critical feature.",
9-
"Support for the GCC compiler is deprecated." =>
10-
"Use clang or open an issue if GCC support is a critical feature.",
116
}
127
end

‎machine/drivers/cli.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ int main(int argc, char** argv) {
109109
std::cerr << std::endl;
110110
std::cerr << " BIN_PATH: " << RBX_BIN_PATH << std::endl;
111111
std::cerr << " RUNTIME_PATH: " << RBX_RUNTIME_PATH << std::endl;
112-
std::cerr << " KERNEL_PATH: " << RBX_KERNEL_PATH << std::endl;
112+
std::cerr << " CORE_PATH: " << RBX_CORE_PATH << std::endl;
113113
std::cerr << " LIB_PATH: " << RBX_LIB_PATH << std::endl;
114114
std::cerr << " SITE_PATH: " << RBX_SITE_PATH << std::endl;
115115
std::cerr << " VENDOR_PATH: " << RBX_VENDOR_PATH << std::endl;

‎machine/environment.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ namespace rubinius {
674674
dir = prefix + RBX_BIN_PATH;
675675
if(stat(dir.c_str(), &st) == -1 || !S_ISDIR(st.st_mode)) return false;
676676

677-
dir = prefix + RBX_KERNEL_PATH;
677+
dir = prefix + RBX_CORE_PATH;
678678
if(stat(dir.c_str(), &st) == -1 || !S_ISDIR(st.st_mode)) return false;
679679

680680
dir = prefix + RBX_LIB_PATH;

‎machine/ontology.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,6 @@ namespace rubinius {
361361
G(rubinius)->set_const(state, "RUNTIME_PATH", String::create(state, path.c_str()));
362362
path = prefix + RBX_BIN_PATH;
363363
G(rubinius)->set_const(state, "BIN_PATH", String::create(state, path.c_str()));
364-
path = prefix + RBX_KERNEL_PATH;
365-
G(rubinius)->set_const(state, "KERNEL_PATH", String::create(state, path.c_str()));
366364
path = prefix + RBX_CORE_PATH;
367365
G(rubinius)->set_const(state, "CORE_PATH", String::create(state, path.c_str()));
368366
path = prefix + RBX_LIB_PATH;

0 commit comments

Comments
 (0)
Please sign in to comment.