Skip to content

Commit

Permalink
installing rustc/cargo for mybinder demo
Browse files Browse the repository at this point in the history
when we switch to teh rust compiler by default, mybinder stop working, as reoported in #1054 this is because the binder docker image does not have a rust compiler or tools, this install them by using the apt.txt file
  • Loading branch information
Alvaro Leiva Geisse committed Jan 2, 2024
1 parent 43a27b1 commit 2a9d0fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .binder/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Using mybinder
-------------

This repository needs some special packages when running examples and tutorial using [mybinder](https://mybinder.org/v2/gh/instagram/LibCST/main?filepath=docs/source/tutorial.ipynb). We use the file apt.txt to install rustc and cargo.
2 changes: 2 additions & 0 deletions .binder/apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rustc
cargo
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ libcst/_version.py
target/
venv/
.venv/
.idea/

0 comments on commit 2a9d0fb

Please sign in to comment.