Minor rust improvements (#3282)

This commit is contained in:
Yuri Astrakhan
2025-03-06 05:58:46 -05:00
committed by GitHub
parent 70f3c91a47
commit 3e529c0995
3 changed files with 15 additions and 3 deletions

View File

@@ -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 }

5
.gitignore vendored
View File

@@ -52,3 +52,8 @@ cache.sqlite
cache.sqlite-journal
out.png
/test/android/app/build
# Rust
**/target/
**/*.rs.bk
**/*.profraw

View File

@@ -265,7 +265,7 @@ public:
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