Skip to content

Commit 375c372

Browse files
authored
Implement the first version of Rust SDK for WAMR (#2984)
1 parent 5cb90f6 commit 375c372

File tree

23 files changed

+1591
-514
lines changed

23 files changed

+1591
-514
lines changed

.github/workflows/rust_linter.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright (C) 2019 Intel Corporation. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3+
name: Rust linter
4+
5+
on:
6+
# will be triggered on PR events
7+
pull_request:
8+
paths:
9+
- "./language-bindings/rust/**"
10+
11+
# allow to be triggered manually
12+
workflow_dispatch:
13+
14+
# Cancel any in-flight jobs for the same PR/branch so there's only one active
15+
# at a time
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
# Make sure CI fails on all warnings, including Clippy lints
21+
env:
22+
RUSTFLAGS: "-Dwarnings"
23+
24+
jobs:
25+
clippy_check:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
- name: Run Clippy
30+
run: cargo clippy --all-targets --all-features
31+
working-directory: ./language-bindings/rust/

language-bindings/rust/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
target/
1+
**/target/

language-bindings/rust/Cargo.lock

+109-58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)