Alex Crichton
a7bcbe58c6
Tweak some style here and there
9 years ago
Niels Grewe
a383401530
Rename link() to cargo_metadata() and cover all the cargo:… flags.
9 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.
9 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
Valerii Hiora
b7940f4445
iOS: fixed aarch64 compilation
10 years ago
Alex Crichton
d932ce96a6
Bump to 0.2.1
10 years ago
Alex Crichton
e170b87443
Move to a builder-style interface
This is frequently much more ergonomic and is also much more extensible in terms
of backwards-compatibility.
10 years ago
Alex Crichton
0ea006967a
Move to var_string
10 years ago
Alex Crichton
1a78a93cb1
Add some feature gates
10 years ago
Alex Crichton
9904334cbf
Bump to 0.1.7
10 years ago
Alex Crichton
e9f2986494
Bump to 0.1.6
10 years ago
Alex Crichton
f003d9af63
Update to new compiler flag syntax
Bump to 0.1.5
10 years ago
Alex Crichton
fa20c62b28
Bump to 0.1.4
10 years ago
Valerii Hiora
5c19d30d3e
Format Show and String split
10 years ago
Alex Crichton
4a8a514c8b
Put all emitted -L paths into the native path only
10 years ago