about summary refs log tree commit diff
path: root/src/test/run-make-fulldeps/libtest-json
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-68/+0
2022-10-28libtest: run all tests in their own thread, if supported by the hostRalf Jung-3/+3
2022-08-23Diagnose missing includes in run-make testsTomasz Miąsko-1/+1
2022-03-11Add tests for JSON and console outputMark Rousskov-4/+4
2022-01-28remove allow_fail test flagyuhaixin.hx-2/+2
2020-11-29libtest: Make `sed` arguments compatible with appleJakob Schikowski-2/+2
2020-11-27libtest: Print the total time taken to execute a test suiteJakob Schikowski-5/+5
2020-01-12Update `output-default.json` and rustdoc testvarkor-2/+2
2019-07-12libtest: support display_output in JSON formatterPaul Emmerich-6/+21
2019-06-05Reblessed tests.Alexander Regueiro-1/+1
2019-04-22Remove double trailing newlinesvarkor-1/+0
2018-12-25Remove licensesMark Rousskov-21/+1
2018-12-13Update panic message to be clearer about env-varsDaniel Silverstone-1/+1
Esteban Kuber requested that the panic message make it clear that `RUST_BACKTRACE=1` is an environment variable. This change makes that clear. Wording provided in part by David Tolnay.
2018-11-27fix run-make-fulldeps/libtest-jsonRalf Jung-1/+1
2018-08-31Fix tests for json formattingCharlie Andrews-2/+2
2018-05-05Fix libtest-json testJohn Kåre Alsaker-1/+1
2018-03-22rustc: Add a `#[wasm_custom_section]` attributeAlex Crichton-0/+74
This commit is an implementation of adding custom sections to wasm artifacts in rustc. The intention here is to expose the ability of the wasm binary format to contain custom sections with arbitrary user-defined data. Currently neither our version of LLVM nor LLD supports this so the implementation is currently custom to rustc itself. The implementation here is to attach a `#[wasm_custom_section = "foo"]` attribute to any `const` which has a type like `[u8; N]`. Other types of constants aren't supported yet but may be added one day! This should hopefully be enough to get off the ground with *some* custom section support. The current semantics are that any constant tagged with `#[wasm_custom_section]` section will be *appended* to the corresponding section in the final output wasm artifact (and this affects dependencies linked in as well, not just the final crate). This means that whatever is interpreting the contents must be able to interpret binary-concatenated sections (or each constant needs to be in its own custom section). To test this change the existing `run-make` test suite was moved to a `run-make-fulldeps` folder and a new `run-make` test suite was added which applies to all targets by default. This test suite currently only has one test which only runs for the wasm target (using a node.js script to use `WebAssembly` in JS to parse the wasm output).