Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,25 @@ jobs:
mkdir dist
cp "target/release/rust_ast_gen${{ matrix.binary_extension }}" "dist/${{ matrix.asset_name }}"

- name: Generate RustNodeSyntax.scala
if: matrix.os == 'ubuntu-24.04'
run: cargo run --release --locked --bin scala_bindings_gen -- --output dist/RustNodeSyntax.scala

- name: Upload release binary
uses: actions/upload-artifact@v4
with:
name: asset-${{ matrix.asset_name }}
path: dist/${{ matrix.asset_name }}
if-no-files-found: error

- name: Upload RustNodeSyntax.scala
if: matrix.os == 'ubuntu-24.04'
uses: actions/upload-artifact@v4
with:
name: asset-RustNodeSyntax.scala
path: dist/RustNodeSyntax.scala
if-no-files-found: error

release:
needs:
- verify
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust_ast_gen"
version = "0.1.0"
version = "0.2.0"
edition = "2024"

[dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.joern.rust2cpg.parser

// Automatically generated by rust_ast_gen v0.1.0
// Automatically generated by rust_ast_gen v0.2.0
// Do not edit directly!

import ujson.Value
Expand Down
Loading