Use prototype from DllMain instead of vcrt internal for _DllMainCRTSt… #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
name: ${{ matrix.arch }}-pc-windows-msvc | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: [i686, x86_64] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
shell: bash | |
run: | | |
clang-cl --target=${{ matrix.arch }}-pc-windows-msvc -Brepro -LD \ | |
-O2 -Zl -fuse-ld=lld api-ms-win-core-path-l1-1-0.c -link \ | |
-def:api-ms-win-core-path-l1-1-0.def -noimplib shlwapi.lib | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.arch }}-pc-windows-msvc | |
path: api-ms-win-core-path-l1-1-0.dll |