Commit graph

8 commits

Author SHA1 Message Date
Fabian 02f657b836 tools: Force python 3 2020-08-30 19:37:15 -05:00
Fabian fa540e6e86 fs2json: Handle tar files that don't report file type in mode bits 2020-08-30 19:37:15 -05:00
Fabian 68c59d10a5 copy-to-sha256 and fs2json: Support for tar files, refactor debian-full script to not require root 2020-08-30 19:37:14 -05:00
Fabian 2ee68c960a Make --strip-debug configurable (for release builds) 2020-08-30 19:29:54 -05:00
Amaan Cheval 80e339d54c rust-lld-wrapper: Remove export-table to prevent conflict
Without this patch, the following error is thrown:
  rust-lld: error: --import-table and --export-table may not be used together

Tested on the following nightly versions:

rustc 1.30.0-nightly (7e8ca9f8b 2018-08-03)
rustc 1.30.0-nightly (33b923fd4 2018-08-18)
2020-08-30 19:29:54 -05:00
Fabian e8eb5b9b45 Restore debug info 2020-08-30 19:29:53 -05:00
Fabian 01061dc4b6 The final Rust porting
This commit contains the final changes requires for porting all C code
to Rust and from emscripten to llvm:

- tools/wasm-patch-indirect-function-table.js: A script that rewrites
  the wasm generated by llvm to remove the table limit
- tools/rust-lld-wrapper: A wrapper around rust-lld that removes
  arguments forced by rustc that break compilation for us
- src/rust/cpu2/Makefile: A monstrosity to postprocess c2rust's output
- gen/generate_interpreter.js: Ported to produce Rust instead of C
- src/rust/*: A few functions and macros to connect the old Rust code
  and the new Rust code
- src/*.js: Removes the loading of the old emscripten wasm module and
  adapts imports and exports from emscripten to llvm
2020-08-30 19:29:53 -05:00
Fabian 8da18d339e Add tools to build v86 images from docker container 2020-08-30 19:29:53 -05:00