Skip to content

feat: midenup init now saves the miden symlink in $CARGO_HOME/bin - #166

Merged
bitwalker merged 1 commit into
mainfrom
fabrizioorsi/i165-miden-bin
Mar 10, 2026
Merged

feat: midenup init now saves the miden symlink in $CARGO_HOME/bin#166
bitwalker merged 1 commit into
mainfrom
fabrizioorsi/i165-miden-bin

Conversation

@lima-limon-inc

Copy link
Copy Markdown
Contributor

Closes #161

In order to reduce manual intervention with midenup (for situations like github actions), now midenup init saves the miden symlink in cargo's bin directory.

Signed-off-by: Tomas Fabrizio Orsi <tomas.orsi@lambdaclass.com>
@lima-limon-inc lima-limon-inc self-assigned this Mar 9, 2026
@lima-limon-inc lima-limon-inc added command:miden An issue or task related to the `miden` AIO command check:install PRs only: runs workflows that perform additional end-to-end integration testing labels Mar 9, 2026

@bitwalker bitwalker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm signing off on this, but one thing I'm unsure about is whether Cargo may prune the directory of things it doesn't think it installed (or perceives as being orphaned in some way, since Cargo assumes that things in this directory are managed by cargo install or rustup). I don't know if it actually does this, but something we may have to anticipate. We might be alright here when the symlink points to a Cargo-installed midenup binary though.

@bitwalker
bitwalker merged commit f2b8de1 into main Mar 10, 2026
24 checks passed
@bitwalker
bitwalker deleted the fabrizioorsi/i165-miden-bin branch March 10, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

check:install PRs only: runs workflows that perform additional end-to-end integration testing command:miden An issue or task related to the `miden` AIO command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants