* Use ubuntu 18.04 instead of 18.10 for MIPS CI

* Fix WASM CI
This commit is contained in:
Amanieu d'Antras 2020-03-29 15:15:59 +01:00 committed by GitHub
parent 2674fff7d2
commit c554b42b2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM ubuntu:18.10
FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y --no-install-recommends \

View file

@ -32,8 +32,8 @@ pub(crate) fn disassemble_myself() -> HashSet<Function> {
// "wasm-bindgen-test_bg". When running in node this is actually a shim JS
// file. Ask node where that JS file is, and then we use that with a wasm
// extension to find the wasm file itself.
let js_shim = resolve("wasm-bindgen-test_bg");
let js_shim = Path::new(&js_shim).with_extension("wasm");
let js_shim = resolve("wasm-bindgen-test");
let js_shim = Path::new(&js_shim).with_file_name("wasm-bindgen-test_bg.wasm");
// Execute `wasm2wat` synchronously, waiting for and capturing all of its
// output. Note that we pass in a custom `maxBuffer` parameter because we're