about summary refs log tree commit diff
path: root/src/test/run-pass/trait-object-generics.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-07-07 15:27:49 +0000
committerbors <bors@rust-lang.org>2017-07-07 15:27:49 +0000
commitc0ec385caca94e0940ae1680a5504acd12835657 (patch)
tree69345f8ad5bade3a2b0cf8a688613c73627be664 /src/test/run-pass/trait-object-generics.rs
parent703341051d857bba054f97c38f80d10aab44521c (diff)
parentfc0275af24e7e35f8cb07543462255c7a4e9ce29 (diff)
downloadrust-c0ec385caca94e0940ae1680a5504acd12835657.tar.gz
rust-c0ec385caca94e0940ae1680a5504acd12835657.zip
Auto merge of #43099 - japaric:msp430, r=alexcrichton
add a built-in MSP430 target

the MSP430 backend has been enabled for a while but no target was added to rustc
to encourage out of tree experimentation.

We believe the out of tree (custom) target has been iterated long enough and is
stable enough for inclusion in the compiler. Kudos to @pftbest and @awygle for
fixing several LLVM / codegen bugs this target had!

The target name chosen is a slight variation of the triple gcc uses, which is
simply `msp430-elf`. We picked `msp430-none-elf` to leave room for custom
targets that target some embedded OS running on MSP430 devices. (cf. the
custom `thumbv7m-tockos-eabi` target TockOS uses vs the built-in
`thumbv7m-none-eabi`).

There's one expected change in the specification of the proposed target: the
`asm_args` and `no_integrated_as` fields will change to their default values.
Once the LLVM backend gains the ability to directly produce MSP430 object files
we can stop depending on `msp430-elf-gcc` for producing object files; when that
occurs the `asm` related fields will change. This change won't break existing
user code.

r? @alexcrichton
cc @brson
Diffstat (limited to 'src/test/run-pass/trait-object-generics.rs')
0 files changed, 0 insertions, 0 deletions