Skip to content

bug: Libraries in masp format are saved as masps. #191

@lima-limon-inc

Description

@lima-limon-inc

When storing the core and protocol libraries, these were being stored as masps instead of masl, as described by this comment: https://github.com/0xMiden/miden-vm/blob/eb5d43d82d61f6a18017a8c00e1a3695110b167d/crates/assembly-syntax/src/library/mod.rs#L404-L411.

As an aside, when trying to link these libraries with the compiler, I got the following error:

cargo miden build -L /Users/fabri/Library/Application\ Support/midenup/toolchains/0.14.3/lib -l core.masl

Creating Miden package miden_faucet_mint_tx.masp

failed to deserialize library from '/Users/fabri/Library/Application Support/midenup/toolchains/0.14.3/lib/core.masl': unexpected end of file

Metadata

Metadata

Labels

bugSomething isn't workingcommand:midenupAn issue or task related to the `midenup` commandmanifestAn issue related to the channel manifest

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions