Skip to content

Commit 3e529c0

Browse files
authored
Minor rust improvements (#3282)
1 parent 70f3c91 commit 3e529c0

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/rust-ci.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,20 @@ on:
99

1010
defaults:
1111
run:
12-
shell: bash
1312
working-directory: rustutils/
1413

1514
jobs:
1615
test:
1716
name: Rust tests
18-
runs-on: ubuntu-latest
17+
runs-on: ${{ matrix.os }}
18+
strategy:
19+
fail-fast: true
20+
matrix:
21+
include:
22+
- os: macos-latest # M-series CPU
23+
- os: macos-13 # x64 CPU
24+
- os: windows-latest
25+
- os: ubuntu-latest
1926
steps:
2027
- uses: taiki-e/install-action@v2
2128
with: { tool: just }

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,8 @@ cache.sqlite
5252
cache.sqlite-journal
5353
out.png
5454
/test/android/app/build
55+
56+
# Rust
57+
**/target/
58+
**/*.rs.bk
59+
**/*.profraw

include/mbgl/util/tile_server_options.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class TileServerOptions final {
265265
TileServerOptions& withDefaultStyles(std::vector<mbgl::util::DefaultStyle> styles);
266266

267267
/**
268-
* @brief Sets the default style by name. The style name must exists in
268+
* @brief Sets the default style by name. The style name must exist in
269269
* defaultStyles collection
270270
*
271271
* @param defaultStyle The style name

0 commit comments

Comments
 (0)