Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace {u,i}128_* lang items with __rust_{u,i}128_* unmangled functions #302

Merged
merged 2 commits into from
Jul 19, 2019
Merged

Replace {u,i}128_* lang items with __rust_{u,i}128_* unmangled functions #302

merged 2 commits into from
Jul 19, 2019

Commits on Jul 13, 2019

  1. Replace {u,i}128_* lang items with __rust_{u,i}128_* unmangled functions

    The -Zlower-128bit-ops feature is completely broken, as libcore needs
    those lang items to compile with this feature, but they are only
    provided by compiler_builtins, which itself depends on libcore.
    According to rust-lang/rust#58969 the feature never got finished.
    
    This commit removes the associated lang items and replaces them with
    normal unmangled functions, when there is no existing intrinsic. This
    makes it easier for alternative codegen backends to implement 128bit
    integer support.
    bjorn3 committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    783430e View commit details
    Browse the repository at this point in the history
  2. Fix tests

    bjorn3 committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    7b716e6 View commit details
    Browse the repository at this point in the history