##// END OF EJS Templates
rust-cpython: add panicking version of borrow_mut() and use it...
rust-cpython: add panicking version of borrow_mut() and use it The original borrow_mut() is renamed to try_borrow_mut(). Since leak_immutable() no longer incref the borrow count, the caller should know if the underlying value is borrowed or not. No Python world is involved. That's why we can simply use the panicking borrow_mut().

File last commit:

r43815:e182deb5 default
r44685:2a24ead0 default
Show More
Vagrantfile
13 lines | 415 B | text/x-ruby | RubyLexer
anatoly techtonik
contrib/vagrant: use Vagrant for running tests on virtual machine...
r21874 # -*- mode: ruby -*-
Vagrant.configure('2') do |config|
Augie Fackler
vagrant: update vagrant image to buster from jessie...
r43909 # Debian 10.1 x86_64 without configuration management software
config.vm.box = "debian/buster64"
anatoly techtonik
contrib/vagrant: use Vagrant for running tests on virtual machine...
r21874 config.vm.hostname = "tests"
config.vm.define "tests" do |conf|
conf.vm.provision :file, source: "run-tests.sh", destination:"run-tests.sh"
conf.vm.provision :shell, path: "provision.sh"
conf.vm.synced_folder "../..", "/hgshared"
end
end