Skip to content

Virtual development environment for Rust, based on Arch Linux.

Notifications You must be signed in to change notification settings

guapodero/rusty_arch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Arch

My development environment. I primarily work with the Rust Programming Language on Arch Linux.

Dependencies

Why Arch Linux?

The philosophy behind Arch and the community that has grown around it makes it delightful to work with.

Why Rust?

For many of the same reasons as Arch. An inclusive community which appreciates the human time that is devoted to computing. Programs written in Rust tend to be very enjoyable to use.

Why Lima?

Relatively new, but it's an improvement over Vagrant. Some advantages:

  • Easier to use.
  • Supports modern filesystems which are necessary to use podman.
  • Creates QEMU virtual machines, which integrate more directly with CPUs than VirtualBox 6.

Use Case

  • Intel Mac (MacOS 10.15 Catalina)
  • minimal dependencies (no Homebrew, Xcode, Docker)
  • frequent offline use (not supported yet)

Base System

Offline Rust documentation at http://localhost:9306

Usage

bin/lima_session.sh vm_name [session_name | .] # . = force new session

  • interact with limactl to create a new virtual machine
  • start up existing VM and attach to existing zellij session
  • to close a session: Ctrl d
  • to detach from it: Ctrl o d
  • the VM will remain running until you stop it with limactl

Example

bin/lima_session.sh arch rust
gh_clone guapodero/pulso && rg_open TODO

Known Issues

Unable to start or ssh to a VM while offline. lima-vm/lima#1422

Lima 1.0 is coming soon with breaking changes. https://github.com/lima-vm/lima/milestone/26

Known Obstacles

Tracked in the ko directory. These are being passively worked on.

About

Virtual development environment for Rust, based on Arch Linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages