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

mingw: Fix build with patch from Liu Hao #3164

Merged
merged 1 commit into from
Sep 23, 2024

Commits on Sep 16, 2024

  1. mingw: Fix build with patch from Liu Hao

    This commit adds Liu Hao's patch from
    https://github.com/lhmouse/MINGW-packages/blob/5859d27b2b6101204a08ad9702cb2937f8797be9/mingw-w64-gcc/0100-rust-fix.patch
    
    gcc/rust/ChangeLog:
    
    	* checks/errors/borrowck/rust-borrow-checker.cc (mkdir_wrapped): Remove.
    	(BorrowChecker::go): Use `mkdir` instead.
    	* expand/rust-proc-macro.cc (register_callback): Use Windows APIs to
    	open dynamic proc macro library.
    	(load_macros_array): Likewise.
    	* parse/rust-parse.cc (defined): Replace separators in paths using
    	std::replace.
    CohenArthur committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    51fea9c View commit details
    Browse the repository at this point in the history