Minor rust improvements (#3282)
This commit is contained in:
11
.github/workflows/rust-ci.yaml
vendored
11
.github/workflows/rust-ci.yaml
vendored
@@ -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
5
.gitignore
vendored
@@ -52,3 +52,8 @@ cache.sqlite
|
||||
cache.sqlite-journal
|
||||
out.png
|
||||
/test/android/app/build
|
||||
|
||||
# Rust
|
||||
**/target/
|
||||
**/*.rs.bk
|
||||
**/*.profraw
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user