Skip to content

Commit

Permalink
Updated deprecations.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Jul 16, 2016
1 parent 98e08b1 commit 43e411b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
5 changes: 0 additions & 5 deletions core/deprecations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,5 @@ module Rubinius
# "Description" => "Alternative"
"Ruby 2.1 features that are incompatible with Ruby 2.2 are deprecated." =>
"Use Ruby 2.2 features if they are available.",
"Rubinius::KERNEL_PATH is deprecated." => "Use Rubinius::CORE_PATH instead.",
"Support for 32-bit platforms is deprecated." =>
"Use 64-bit platforms or open an issue if 32-bit support is a critical feature.",
"Support for the GCC compiler is deprecated." =>
"Use clang or open an issue if GCC support is a critical feature.",
}
end
2 changes: 1 addition & 1 deletion machine/drivers/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ int main(int argc, char** argv) {
std::cerr << std::endl;
std::cerr << " BIN_PATH: " << RBX_BIN_PATH << std::endl;
std::cerr << " RUNTIME_PATH: " << RBX_RUNTIME_PATH << std::endl;
std::cerr << " KERNEL_PATH: " << RBX_KERNEL_PATH << std::endl;
std::cerr << " CORE_PATH: " << RBX_CORE_PATH << std::endl;
std::cerr << " LIB_PATH: " << RBX_LIB_PATH << std::endl;
std::cerr << " SITE_PATH: " << RBX_SITE_PATH << std::endl;
std::cerr << " VENDOR_PATH: " << RBX_VENDOR_PATH << std::endl;
Expand Down
2 changes: 1 addition & 1 deletion machine/environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ namespace rubinius {
dir = prefix + RBX_BIN_PATH;
if(stat(dir.c_str(), &st) == -1 || !S_ISDIR(st.st_mode)) return false;

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

dir = prefix + RBX_LIB_PATH;
Expand Down
2 changes: 0 additions & 2 deletions machine/ontology.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,6 @@ namespace rubinius {
G(rubinius)->set_const(state, "RUNTIME_PATH", String::create(state, path.c_str()));
path = prefix + RBX_BIN_PATH;
G(rubinius)->set_const(state, "BIN_PATH", String::create(state, path.c_str()));
path = prefix + RBX_KERNEL_PATH;
G(rubinius)->set_const(state, "KERNEL_PATH", String::create(state, path.c_str()));
path = prefix + RBX_CORE_PATH;
G(rubinius)->set_const(state, "CORE_PATH", String::create(state, path.c_str()));
path = prefix + RBX_LIB_PATH;
Expand Down

0 comments on commit 43e411b

Please sign in to comment.