Skip to content

Commit

Permalink
Try to use msvc instead of gnu for windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusty/Benediction committed Jan 9, 2024
1 parent af99063 commit 44c6f1e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/build_and_prerelease_windows.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: Windows build

on:
push:
branches: [ master ]

env:
CARGO_TERM_COLOR: always

jobs:
build-windows:

runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: houseabsolute/actions-rust-cross@v0
with:
command: build
toolchain: nightly-x86_64-pc-windows-gnu
target: x86_64-pc-windows-gnu
args: --release --bins
- uses: ncipollo/release-action@v1
with:
token: "${{ secrets.GITHUB_TOKEN }}"
allowUpdates: true
removeArtifacts: false
prerelease: true
draft: false
tag: latest
name: "Development Build"
generateReleaseNotes: true
artifacts: "target/x86_64-pc-windows-gnu/release/*.exe"

name: Windows build

on:
push:
branches: [ master ]

env:
CARGO_TERM_COLOR: always

jobs:
build-windows:

runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: houseabsolute/actions-rust-cross@v0
with:
command: build
toolchain: nightly-x86_64-pc-windows-msvc
target: x86_64-pc-windows-msvc
args: --release --bins
- uses: ncipollo/release-action@v1
with:
token: "${{ secrets.GITHUB_TOKEN }}"
allowUpdates: true
removeArtifacts: false
prerelease: true
draft: false
tag: latest
name: "Development Build"
generateReleaseNotes: true
artifacts: "target/x86_64-pc-windows-msvc/release/*.exe"

1 change: 1 addition & 0 deletions cpclib-asm/src/parser/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ const STAND_ALONE_DIRECTIVE: &[&[u8]] = &[
b"INCL49",
b"INCAPU",
b"INCZX0",
b"INCSHRINKLER",
b"LET",
b"LIMIT",
b"LIST",
Expand Down

0 comments on commit 44c6f1e

Please sign in to comment.