This repository was archived by the owner on Dec 10, 2022. It is now read-only.
File tree 3 files changed +18
-18
lines changed
3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -12,28 +12,27 @@ branches:
12
12
13
13
environment :
14
14
matrix :
15
- - channel : stable
16
- target : x86_64-pc-windows-gnu
15
+ # stable x86_64 with static libsodium from sources
16
+ - TARGET : x86_64-pc-windows-msvc
17
+ RUST_CHANNEL : stable
18
+
19
+ # stable x86 with static libsodium from sources
20
+ - TARGET : i686-pc-windows-msvc
21
+ RUST_CHANNEL : stable
17
22
# env variables for debugging
18
23
RUST_BACKTRACE : " 1"
19
24
20
25
install :
21
- # install libsodium
22
- - mkdir deps && cd deps
23
- - appveyor-retry appveyor DownloadFile https://download.libsodium.org/libsodium/releases/libsodium-1.0.16-mingw.tar.gz -FileName libsodium.tar.gz
24
- - 7z x libsodium.tar.gz -so | 7z x -si -ttar > nul
25
- - set SODIUM_STATIC=1
26
- - set SODIUM_LIB_DIR=C:\projects\tox-node\deps\libsodium-win64\lib
27
- - cd C:\projects\tox-node
28
- # install rustc & cargo
29
- - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
30
- - rustup-init -yv --default-toolchain %channel% --default-host %target%
31
- - set PATH=%PATH%;%USERPROFILE%\.cargo\bin
32
- - rustc -vV
33
- - cargo -vV
26
+ - ps : |
27
+ # Install Rust
28
+ appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
29
+ cmd.exe /c .\rustup-init.exe -y --default-host "$env:TARGET" --default-toolchain "$env:RUST_CHANNEL" 2`>`&1
30
+ $env:PATH += ";$env:USERPROFILE\.cargo\bin"
31
+ rustc -V
32
+ cargo -V
34
33
35
34
build : false
36
35
37
36
test_script :
38
- - cargo build --verbose
39
- - cargo test --verbose
37
+ - cargo build --verbose
38
+ - cargo test --verbose
Original file line number Diff line number Diff line change 1
1
language : rust
2
2
rust :
3
- - 1.26.0
3
+ - 1.30.1
4
4
- stable
5
5
- beta
6
6
- nightly
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ impl RegexMatches {
28
28
}
29
29
}
30
30
31
+ /// Packet counters for both tcp and udp.
31
32
pub struct Counters {
32
33
tcp : Stats ,
33
34
udp : Stats ,
You can’t perform that action at this time.
0 commit comments