Skip to content

Commit

Permalink
Minor rust improvements (#3282)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik authored Mar 6, 2025
1 parent 70f3c91 commit 3e529c0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/rust-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@ on:

defaults:
run:
shell: bash
working-directory: rustutils/

jobs:
test:
name: Rust tests
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
include:
- os: macos-latest # M-series CPU
- os: macos-13 # x64 CPU
- os: windows-latest
- os: ubuntu-latest
steps:
- uses: taiki-e/install-action@v2
with: { tool: just }
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,8 @@ cache.sqlite
cache.sqlite-journal
out.png
/test/android/app/build

# Rust
**/target/
**/*.rs.bk
**/*.profraw
2 changes: 1 addition & 1 deletion include/mbgl/util/tile_server_options.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class TileServerOptions final {
TileServerOptions& withDefaultStyles(std::vector<mbgl::util::DefaultStyle> styles);

/**
* @brief Sets the default style by name. The style name must exists in
* @brief Sets the default style by name. The style name must exist in
* defaultStyles collection
*
* @param defaultStyle The style name
Expand Down

0 comments on commit 3e529c0

Please sign in to comment.