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

fix mononoke build #769

Closed
wants to merge 1 commit into from
Closed

fix mononoke build #769

wants to merge 1 commit into from

Commits on Nov 13, 2023

  1. fix mononoke build

    Makes usage of anyhow::Error::backtrace() conditional on fbcode_build. This is necessary because the cargo build of anyhow disables its backtrace features when using RUSTC_BOOTSTRAP=1
    
    For oss cargo build to work on current rustc stable 1.73+ I hid the #![feature(provide_any)] usage by making it condition on fbcode_build.
    
    Test plan:
    
    local build with `./build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. mononoke`
    
    github CI, done by regenerating the mononoke github actions with: `./build/fbcode_builder/getdeps.py --allow-system-packages generate-github-actions --free-up-disk --src-dir=. --output-dir=.github/workflows --job-name="Mononoke " --job-file-prefix=mononoke_ mononoke`
    
    Before, broken
    
    After, works
    ahornby committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    0bf9914 View commit details
    Browse the repository at this point in the history