Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: alpha release #272

Merged
merged 63 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
f6f64d7
wip: unify compilation, rodata init, test harness
bitwalker Jul 26, 2024
5f17f36
wip: derive source spans from dwarf debug info in wasm frontend
bitwalker Jul 26, 2024
9046730
feat(codegen): propagate source spans from hir to masm
bitwalker Jul 30, 2024
b1b4ca1
wip: refactor compiler test instantiation/configuration
bitwalker Jul 30, 2024
e84c41d
chore: bump rust toolchain
bitwalker Aug 2, 2024
7521cb7
refactor: unify diagnostics infa between compiler, assembler, vm
bitwalker Aug 2, 2024
b2670ba
wip: update to latest miden vm patchset
bitwalker Aug 4, 2024
0b73156
wip: support compiled libraries, linker flags
bitwalker Aug 5, 2024
8ab8fb3
fix: clap error formatting, unused deps
bitwalker Aug 5, 2024
2e06c25
fix(cli): improve help output, hide plumbing flags
bitwalker Aug 5, 2024
584391a
chore: move miden-vm deps to latest commit included in 0.10 releasef
bitwalker Aug 6, 2024
38324c6
refactor: unify branch successor repr, support switch arms with argum…
bitwalker Aug 6, 2024
a2c67d9
test: use nextest test runner
bitwalker Aug 6, 2024
8e26010
fix: bug in program.has_entrypoint
bitwalker Aug 6, 2024
22fadee
fix: handle behavior change between codemap and sourcemanager
bitwalker Aug 6, 2024
c7cfeba
test: temporarily disable i128 tests until emulator supports mast
bitwalker Aug 6, 2024
946f52e
test: disable tx_kernel and stdlib tests until rodata issues fixed
bitwalker Aug 6, 2024
02ca966
feat: improve inference of project type based on driver flags
bitwalker Aug 6, 2024
432db3d
fix: various tests, cli bugs, vm test executor, test builder api
bitwalker Aug 6, 2024
42a2d4e
fix: linking of standard library in tests
bitwalker Aug 6, 2024
52721fd
chore: update expect tests
bitwalker Aug 7, 2024
37b242a
chore: fix various clippy warnings, bug in wasm br_table lowering, ex…
bitwalker Aug 7, 2024
7ebb3e5
chore: update cargo-component to 0.14
greenhat Aug 7, 2024
52f7a12
fix: expect output for basic wallet p2id test
bitwalker Aug 7, 2024
4e01a72
fix: incorrect wasm32-wasi target
bitwalker Aug 7, 2024
1305fb2
fix: update expect tests for wit-sdk basic wallet
bitwalker Aug 7, 2024
39d6d85
test: fix `rust_sdk::account` test
greenhat Aug 7, 2024
d931175
fix: incorrect paths for intrinsics in debuginfo
bitwalker Aug 8, 2024
554bcd3
feat: use unique assertion code for alignment errors
bitwalker Aug 8, 2024
cb542d3
fix: incorrect get_inputs stub in test
bitwalker Aug 8, 2024
8dd338d
feat: render stack traces alongside source spans in test errors
bitwalker Aug 8, 2024
eb42713
fix: tweak session init handling of outputs
bitwalker Aug 8, 2024
b71259c
refactor: clean up driver init and output config
bitwalker Aug 8, 2024
ca18031
feat(debugging): improve precision of stack trace generation
bitwalker Aug 9, 2024
1c0937f
feat(isa): implement dynamic heap memory intrinsics
bitwalker Aug 9, 2024
e27c06a
fix: improve quality of wasm translation in a few spots
bitwalker Aug 9, 2024
d8bc1de
fix: incorrect translation of alignment check
bitwalker Aug 9, 2024
25578d5
chore: update expect tests
bitwalker Aug 9, 2024
d028575
fix: infer link libraries from target env
bitwalker Aug 10, 2024
0230276
refactor: improve behavior of frontend config
bitwalker Aug 10, 2024
fa52543
chore: update to miden v0.10.2
bitwalker Aug 11, 2024
54a44b8
fix: remove unnecessary request for masm artifacts in tests
bitwalker Aug 11, 2024
6ec65c6
feat: move ident demangling to midenc-hir
bitwalker Aug 11, 2024
993c092
feat: implement 'midenc run'
bitwalker Aug 11, 2024
9d1eca4
chore: update to miden v0.10.3
bitwalker Aug 13, 2024
3e5a767
feat: implement `miden run` debugger
bitwalker Aug 14, 2024
cb0fd92
feat(debugger): improve argument parsing for read command
bitwalker Aug 14, 2024
a0a5b8c
feat(debugger): support syntax highlighting in the source pane
bitwalker Aug 15, 2024
b855959
chore: skip pretty printing stdlib and intrinsics modules in MASM Pro…
greenhat Aug 2, 2024
c3cfedc
fix: add tx kernel library with stubs and link it on `-l miden`
greenhat Aug 9, 2024
617e5aa
fix: load tx kernel library stubs via SourceManager
greenhat Aug 10, 2024
8f5e62a
refactor: rename `midenc-tx-kernel` to `miden-base-sys` and move it to
greenhat Aug 10, 2024
4213f3f
refactor: build the MASL for the tx kernel stubs in `build.rs` and
greenhat Aug 10, 2024
3f926a7
refactor: delete `miden-tx-kernel-sys` crate and move the code to `mi…
greenhat Aug 10, 2024
9a79517
fix clippy warnings
greenhat Aug 13, 2024
98fb529
fix the build after VM v0.10.3 update
greenhat Aug 14, 2024
44d9946
fix: disable get_inputs test
bitwalker Aug 15, 2024
5742116
fix(debugger): bug in breakpoint retainment
bitwalker Aug 15, 2024
b587f1d
feat(debugger): implement reload command
bitwalker Aug 15, 2024
c627aa3
chore(debugger): some style tweaks to the source pane
bitwalker Aug 15, 2024
cee3b10
feat(debugger): implement internal debug logging
bitwalker Aug 15, 2024
e1decee
chore: rename midenc-runner to midenc-debug
bitwalker Aug 15, 2024
cc6c021
chore: clean up naming in midenc-debug
bitwalker Aug 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
194 changes: 97 additions & 97 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,128 +3,128 @@ name: CI
on:
push:
branches:
- main
- main
paths-ignore:
- '*.md'
- "*.md"
pull_request:
paths-ignore:
- '*.md'
- "*.md"

env:
CARGO_MAKE_TOOLCHAIN: nightly-2024-03-10
CARGO_MAKE_TOOLCHAIN: nightly-2024-05-07

jobs:
compiler:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: Build
uses: actions-rs/cargo@v1
with:
command: make
args: build
- name: Test
uses: actions-rs/cargo@v1
with:
command: make
args: test
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: Build
uses: actions-rs/cargo@v1
with:
command: make
args: build
- name: Test
uses: actions-rs/cargo@v1
with:
command: make
args: test

cargo_miden_test_clean_env:
# Run cargo-miden test in the clean env to simulate user's first run.
# To test the installation of the required dependencies (e.g. rust-src, wasm target, etc.)
name: cargo-miden tests
name: cargo-miden tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: -p cargo-miden --test integration
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: -p cargo-miden --test integration

clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: Test
uses: actions-rs/cargo@v1
with:
command: make
args: clippy
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: Test
uses: actions-rs/cargo@v1
with:
command: make
args: clippy

rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: rustfmt
uses: actions-rs/cargo@v1
with:
command: make
args: check-format
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.CARGO_MAKE_TOOLCHAIN }}
override: true
- name: Cache Cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ github.workflow }}-${{ github.job }}-toolchain-${{ env.CARGO_MAKE_TOOLCHAIN }}
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-make
- name: rustfmt
uses: actions-rs/cargo@v1
with:
command: make
args: check-format
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
- main

env:
CARGO_MAKE_TOOLCHAIN: nightly-2024-03-10
CARGO_MAKE_TOOLCHAIN: nightly-2024-05-07

jobs:
release-plz:
Expand Down
Loading
Loading