about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-22 23:19:22 +0200
committerGitHub <noreply@github.com>2020-04-22 23:19:22 +0200
commit16be619c6aec0db952be61ebb45c63a1ebe4b1a5 (patch)
tree6329630b2689e6bc3135ee7f2b5d2032dcddd19d /src/rustllvm/RustWrapper.cpp
parentd3e24bd457df2c707f0ac8e1943ea3872b1a8b73 (diff)
parent51b194f09ab907a388ff7e9799940380d05f7347 (diff)
downloadrust-16be619c6aec0db952be61ebb45c63a1ebe4b1a5.tar.gz
rust-16be619c6aec0db952be61ebb45c63a1ebe4b1a5.zip
Rollup merge of #71369 - ctaggart:wasm32_profiling, r=ecstatic-morse
allow wasm32 compilation of librustc_data_structures/profiling.rs

I'm trying to use rustfmt from a wasm app. I ran into this compilation problem https://github.com/rust-lang/rustfmt/issues/4132 and after investigating, it looked like just adjusting a few cfg's. I based it on how measureme added support in https://github.com/rust-lang/measureme/pull/43.

My testing on my macbook was just that librustc_data_structures builds now with both:
- cargo build
- cargo build --target wasm32-unknown-unknown
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions