~repos /rust-embed

#rust#proc-macro#http

git clone https://pyrossh.dev/repos/rust-embed.git

rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.


1247b971 Bernardo

7 years ago
setup msys paths
Files changed (1) hide show
  1. appveyor.yml +12 -5
appveyor.yml CHANGED
@@ -51,31 +51,37 @@ environment:
51
51
  target: i686-pc-windows-msvc
52
52
  # Nightly 64-bit MSVC
53
53
  - channel: nightly
54
- target: x86_64-pc-windows-msvc
54
+ target: x86_64-pc-windows-msvc
55
55
  # Nightly 32-bit MSVC
56
56
  - channel: nightly
57
- target: i686-pc-windows-msvc
57
+ target: i686-pc-windows-msvc
58
58
 
59
59
  ### GNU Toolchains ###
60
60
 
61
61
  # Stable 64-bit GNU
62
62
  - channel: stable
63
63
  target: x86_64-pc-windows-gnu
64
+ MSYS_BITS: 64
64
65
  # Stable 32-bit GNU
65
66
  - channel: stable
66
67
  target: i686-pc-windows-gnu
68
+ MSYS_BITS: 32
67
69
  # Beta 64-bit GNU
68
70
  - channel: beta
69
71
  target: x86_64-pc-windows-gnu
72
+ MSYS_BITS: 64
70
73
  # Beta 32-bit GNU
71
74
  - channel: beta
72
75
  target: i686-pc-windows-gnu
76
+ MSYS_BITS: 32
73
77
  # Nightly 64-bit GNU
74
78
  - channel: nightly
75
- target: x86_64-pc-windows-gnu
79
+ target: x86_64-pc-windows-gnu
80
+ MSYS_BITS: 64
76
81
  # Nightly 32-bit GNU
77
82
  - channel: nightly
78
- target: i686-pc-windows-gnu
83
+ target: i686-pc-windows-gnu
84
+ MSYS_BITS: 32
79
85
 
80
86
  ### Allowed failures ###
81
87
 
@@ -101,6 +107,7 @@ install:
101
107
  - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
102
108
  - rustup-init -yv --default-toolchain %channel% --default-host %target%
103
109
  - set PATH=%PATH%;%USERPROFILE%\.cargo\bin
110
+ - if defined MSYS_BITS set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%
104
111
  - rustc -vV
105
112
  - cargo -vV
106
113
 
@@ -117,6 +124,6 @@ test_script:
117
124
  - cargo test --test lib
118
125
  - cargo test --test lib --release
119
126
  - cargo build --example basic
120
- - cargo build --example basic --release
127
+ - cargo build --example basic --release
121
128
  - cargo build --example actix --features actix
122
129
  - cargo build --example actix --features actix --release