aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/rust.py
AgeCommit message (Collapse)AuthorFilesLines
2020-01-08types: import typing as T (fixes #6333)Daniel Mensinger1-2/+2
2019-12-12compilers: move language attribute to the class levelDylan Baker1-1/+1
We know that if a compiler class inherits CCompiler it's language will be C, so doing this at the class level makes more sense.
2019-12-02Allow selecting the dynamic linkerDylan Baker1-1/+5
This uses the normal meson mechanisms, an LD environment variable or via cross/native files. Fixes: #6057
2019-10-07compilers: replace CompilerType with MachineInfoDylan Baker1-2/+7
Now that the linkers are split out of the compilers this enum is only used to know what platform we're compiling for. Which is what the MachineInfo class is for
2019-08-20Merge pull request #5681 from dcbaker/dynamic-linker-splitJussi Pakkanen1-9/+6
split dynamic linker representations from compilers
2019-08-17Pass optimization flags to rustc properly. Closes: #5788.Jussi Pakkanen1-5/+5
2019-08-14compilers: Dispatch to dynamic linker classDylan Baker1-7/+4
Most of the cuda code is from Olexa Bilaniuk. Most of the PGI code is from Michael Hirsc
2019-08-14compilers/rust: Proxy extra kwargs to Compiler.__init__Dylan Baker1-2/+2
2019-06-22Increase logging for Rust CI failures.Jussi Pakkanen1-3/+11
2019-06-09Purge `is_cross` and friends without changing user interfacesJohn Ericson1-4/+4
In most cases instead pass `for_machine`, the name of the relevant machines (what compilers target, what targets run on, etc). This allows us to use the cross code path in the native case, deduplicating the code. As one can see, environment got bigger as more information is kept structured there, while ninjabackend got a smaller. Overall a few amount of lines were added, but the hope is what's added is a lot simpler than what's removed.
2019-03-24Fix setup so test suite runs with rustc + MSVC. Closes: 5099Jussi Pakkanen1-0/+6
2019-01-06Added more compiler option supportDaniel Mensinger1-0/+8
2019-01-06Absolute path generation refactoringDaniel Mensinger1-0/+3
2018-08-18Convert buildtype to optimization and debug options (#3489)Jussi Pakkanen1-1/+15
2018-01-29Add cross-compilation support for `rustc`Adam C. Foltzer1-2/+13
This patch is largely modeled on the relatively-straightforward code for Fortran cross-compilation, so there might be some intricacies missing.
2017-07-21Add build_rpath as new property allowing people to specify rpath entries ↵Jussi Pakkanen1-2/+2
that are used in the build tree but will be removed on install.
2017-06-23Split out languages from compilers.pyAlistair Thomas1-0/+59