Alex Crichton
01e8cf50cd
Handle rumprun-netbsd for cross compiles
9 years ago
Alex Crichton
f308ef2121
Pass -static when compiling for MUSL
Currently needed for when configure scripts and such try to build executables
9 years ago
Alex Crichton
f5dd8ae454
Add .exe on the end of the windows gcc
9 years ago
Alex Crichton
26972612ef
Attempt to use a cross compiler by default
9 years ago
Alex Crichton
71d427426d
Don't print anything if cargo_metadata is false
9 years ago
Alex Crichton
4fae5536f9
Add the ability to learn about the compiler being run
9 years ago
Konstantin Welke
700e4b827b
.ok.expect() so it compiles in older versions
9 years ago
Konstantin Welke
9837db24db
don't println! on hard-link failure
9 years ago
Konstantin Welke
c3479fbc1a
If hard-linking fails, try to copy (in assemble())
9 years ago
Alex Crichton
5e8565c6c5
Inform clang when we're building for iOS
Apparently it needs an extra argument to tell it as such beyond just the
sysroot.
9 years ago
Alex Crichton
e429c775dc
Don't need -fPIC on windows-gnu
10 years ago
Alex Crichton
a7bcbe58c6
Tweak some style here and there
10 years ago
Niels Grewe
a383401530
Rename link() to cargo_metadata() and cover all the cargo:… flags.
10 years ago
Niels Grewe
6713b25a1b
Add an option to disabled automatic linking of the produced binary.
This is mostly useful when your tests require building some piece of C code,
but you do not want the entire crate to be linked against it. You can then
just do `#[cfg_attr(test,link(name = "mylibrary", kind = "static"))]` and the
code will only be linked for tests.
10 years ago
Alex Crichton
172cf7fea0
Add the ability to configure an archiver as well
10 years ago
Alex Crichton
06a863da11
Add the option to specify a compiler
10 years ago
Alex Crichton
80481f5d16
Add the ability to at least somewhat test weird platforms
10 years ago
dpen2000
47ba56ee81
Update lib.rs
Change error message after readme changes in bc6a3a5a54
so pointing to new section
10 years ago
Alex Crichton
7e1b0d8cbb
Add some more UCRT include paths
10 years ago
Alex Crichton
bde8cc1791
Don't pass the -mwin32 flag by default on Windows
It ended up causing some problems (described in #51 ) and seems like a bit of an
odd default for us to be passing.
Closes #51
10 years ago
Alex Crichton
69bfb74a84
Use the registry for the Windows Kits 10.0 folder
10 years ago
Alex Crichton
61a867013e
Try to detect the Universal CRT on MSVC installs
Visual Studio 2015, recently releases, includes the Universal CRT, a different
flavor than was provided before. The binaries and header files for this library
are included in new locations not previously known about by gcc-rs, and this
commit adds support for the necessary probing to find these (for now).
10 years ago
Alex Crichton
60aaeb79f8
Start probing for MSVC tools
Helps compiling for MSVC "just work" in as many situations as possible. Most of
this logic is just copied from the compiler.
10 years ago
Alex Crichton
985692d2a8
Fix compile
10 years ago
Alex Crichton
de44a382b0
Avoid usage of cfg!
Harmful for cross-compiling situations
10 years ago
Alex Crichton
1293ad58d4
Use 0.3 in docs
10 years ago
Alex Crichton
ea0e381ebc
Compile '*.asm' files on MSVC with ml/ml64
10 years ago
Jeff Waugh
bb95c753ab
Perform debug builds under debug profile
10 years ago
Tim Neumann
62306018ae
re-add support for -stdlib
10 years ago
Tim Neumann
c56ccf6a9f
simplify cpp stdlib handling, don't use -stdlib=
10 years ago
Alex Crichton
c44508b798
Pass /MD on windows
10 years ago
Alex Crichton
6783f86fcc
Create foo.lib files for MSVC
10 years ago
Alex Crichton
dcc5765bd1
Don't pass -stdlib by default on MSVC
10 years ago
Alex Crichton
6b287b76b6
Add support for MSVC
10 years ago
TimNN
94fd496aa5
Allow choosing which C++ standard library to use
10 years ago
Alex Crichton
f9b6a33dd2
Link to https
10 years ago
Vadim Chugunov
bd8b535432
Point Windows users to the Windows Notes section of readme.
10 years ago
Alex Crichton
9596a4e6da
Bump to 0.3.4
10 years ago
KokaKiwi
a09c6ca635
Link C++ standard library dynamically.
10 years ago
KokaKiwi
1d7e54c9a4
Replace function pointers with direct calls.
10 years ago
KokaKiwi
52f21016dd
Add C++ library compilation support.
10 years ago
Alex Crichton
13f5fc28d1
Bump to 0.3.3
10 years ago
O01eg
12452cad91
Upgrade to rustc 1.0.0-dev (e98e39133 2015-03-20) (built 2015-03-20)
Removed unused feature. Renamed FileNotFound to NotFound.
10 years ago
Alex Crichton
4018432ed9
Use new dedicated metadata for Cargo
10 years ago
Alex Crichton
79d163e1c4
Update to rust master
10 years ago
Alex Crichton
3638acaa0f
Fixup some warnings
10 years ago
Alex Crichton
1a28f0d295
Add a root doc url
10 years ago
Alex Crichton
6373dcb819
Reduce features in use
10 years ago
Alex Crichton
230f6c8107
Fix looking at CFLAGS
10 years ago
Alex Crichton
bab847db25
Move off std::old_io
10 years ago