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

ccinfo: when providing ccinfo, optionally include libstd and alloc #624

Merged
merged 5 commits into from
Mar 9, 2021

Commits on Mar 9, 2021

  1. ccinfo: when providing ccinfo, optionally include libstd and alloc

    The new attribute on RustToolchain is the label of a target that
    provides __rust_realloc et al, which allows ld(1) to use the .rlib
    files directly without needing to involve rustc in the linking
    step. This means Rust and C++ can be mixed in a cc_binary freely
    without needing any staticlib-type crates, which avoids problems if
    you have a cc_binary -> rust_library -> cc_library -> rust_library
    situation.
    durin42 committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    c871d06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d9f0ee View commit details
    Browse the repository at this point in the history
  3. Disable print

    hlopko authored and durin42 committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    d1a8771 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6db880f View commit details
    Browse the repository at this point in the history
  5. native_deps: give up on testing cc_binary using rust_library

    This only works on clang today, and can only work on clang for the
    near-term. It's not clear how to write a clang-only test in this case,
    so we just give up for now.
    
    "I promise it works!" etc
    durin42 committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    41d8456 View commit details
    Browse the repository at this point in the history