Skip to content

Commit

Permalink
Include winrt headers in MSVC "syroot" search path (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 authored May 18, 2024
1 parent a71bd89 commit ff780cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xwin.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ENV CC_x86_64_pc_windows_msvc="clang-cl" \
# Note that we only disable unused-command-line-argument here since clang-cl
# doesn't implement all of the options supported by cl, but the ones it doesn't
# are _generally_ not interesting.
CL_FLAGS="-Wno-unused-command-line-argument -fuse-ld=lld-link /imsvc/xwin/crt/include /imsvc/xwin/sdk/include/ucrt /imsvc/xwin/sdk/include/um /imsvc/xwin/sdk/include/shared" \
CL_FLAGS="-Wno-unused-command-line-argument -fuse-ld=lld-link /imsvc/xwin/crt/include /imsvc/xwin/sdk/include/ucrt /imsvc/xwin/sdk/include/um /imsvc/xwin/sdk/include/shared /imsvc/xwin/sdk/include/winrt" \
# Let cargo know what linker to invoke if you haven't already specified it
# in a .cargo/config.toml file
CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER="lld-link" \
Expand Down

0 comments on commit ff780cb

Please sign in to comment.