Skip to content

Commit

Permalink
specify rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknus committed Dec 11, 2024
1 parent 4f7aee9 commit e545d43
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions recipes/serial-monitor-rust/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
context:
version: "0.3.0"
version: "0.3.2"

package:
name: serial-monitor-rust
version: ${{ version }}

source:
url: https://github.com/hacknus/serial-monitor-rust/archive/refs/tags/v${{ version }}.tar.gz
sha256: ed5382c75d97fd05c8bc95a8b17de12a023fabbe88d7794c05d8ef79ee3a1096
- url: https://github.com/hacknus/serial-monitor-rust/archive/refs/tags/v${{ version }}.tar.gz
sha256: 7d9e7f19f3dc86f74852dd0129dcb31feb08a3411269d337dba3463a4f479f01

build:
# build numbers can be set arbitrarily
Expand All @@ -34,6 +34,10 @@ build:
- cargo install --locked --bins --root ${PREFIX} --path . --verbose

requirements:
build:
- if: win
then:
rust=1.83
host:
- ${{ compiler('rust') }}
- ${{ compiler('c') }}
Expand All @@ -50,7 +54,7 @@ requirements:
- conda-forge::libudev
- if: win
then:
rust
rust=1.83

run:
- if: linux
Expand Down

0 comments on commit e545d43

Please sign in to comment.