With a rust-toolchain file I think manual rustup is no longer necessary

This commit is contained in:
xenia 2020-03-11 00:01:38 -04:00
parent 7c384ed949
commit aefc4d73ab
2 changed files with 1 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
target target
.rustup-installed
.dir-locals.el .dir-locals.el
*~ *~
*\# *\#

View File

@ -1,6 +1,6 @@
.PHONY: all clean test c t netsim-shell pat .PHONY: all clean test c t netsim-shell pat
all: .rustup-installed release-build all: release-build
debug-build: debug-build:
cargo build cargo build
@ -21,11 +21,6 @@ c: clean
t: test t: test
.rustup-installed:
rustup install nightly
rustup install stable
touch $@
.netsim: .netsim:
mkdir $@ mkdir $@
curl -Ss https://course.ccs.neu.edu/cs3700sp20/archive/tcp-sim.tgz | tar xzf - -C $@ curl -Ss https://course.ccs.neu.edu/cs3700sp20/archive/tcp-sim.tgz | tar xzf - -C $@