rules_rust/examples
Daniel Wagner-Hall c603a7710d
Add per-target link flags in the right place (#2963)
Previously we were adding these early on in the link args.

This was a bug - if some transitive dep foo has a linkopt of `-lbar`,
the `-lbar` needs to be later in the link args list than `-lfoo`.

Rather than arbitrarily adding them early on and hoping things work,
this adds the args for each library just after we add a dependency on
that library.
2024-10-26 20:36:01 +00:00
..
ambiguous_deps Ran clang-format on all C++ sources (#1396) 2022-06-09 10:30:17 -07:00
android Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
bazel_env Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
bindgen Add support for --wrap-extern-fns to bindgen rules (#2743) 2024-07-16 07:42:40 +00:00
bzlmod Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
cargo Renamed `_build_script_run` rule to `cargo_build_script` (#1612) 2022-10-28 07:37:36 -07:00
cargo_manifest_dir Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
crate_universe Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
crate_universe_unnamed Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
env_locations Renamed `_build_script_run` rule to `cargo_build_script` (#1612) 2022-10-28 07:37:36 -07:00
ffi Add example of using JNI to call into Rust (#2690) 2024-06-14 08:46:12 +00:00
fibonacci Migrate rules_rust examples to defs.bzl and smaller rules (#986) 2021-10-23 08:32:29 +02:00
flag_locations Migrate rules_rust examples to defs.bzl and smaller rules (#986) 2021-10-23 08:32:29 +02:00
hello_lib Deleted deprecated `rust_analyzer` rule. (#1405) 2022-06-13 11:50:10 +00:00
hello_runfiles Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847) 2024-09-10 21:30:20 +00:00
hello_world Add per-target link flags in the right place (#2963) 2024-10-26 20:36:01 +00:00
ios Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
ios_build Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
musl_cross_compiling Added Rust 1.82.0 (#2944) 2024-10-21 05:39:37 +00:00
nix_cross_compiling Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
per_platform_printer Migrate rules_rust examples to defs.bzl and smaller rules (#986) 2021-10-23 08:32:29 +02:00
proc_macro Added `crate` attribute to `rustdoc` rules (deprecated `dep`) (#799) 2021-07-06 14:00:37 -07:00
proto Update `runfiles::rlocation!` to return `Option` instead of panicing (#2847) 2024-09-10 21:30:20 +00:00
shared_libs Ran clang-format on all C++ sources (#1396) 2022-06-09 10:30:17 -07:00
sys Fix crates.io URL (#2597) 2024-04-02 23:43:41 +00:00
third_party/openssl Updated `rules_foreign_cc` version for examples (#895) 2021-08-18 06:38:36 -07:00
version_stamping Migrate rules_rust examples to defs.bzl and smaller rules (#986) 2021-10-23 08:32:29 +02:00
wasm_bindgen Respect "--no-typescript" flag in wasm_bindgen (#2765) 2024-07-29 22:05:24 +00:00
zig_cross_compiling Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
.bazelignore upstream wrappers for cargo, rustc, cargo-clippy (#2703) 2024-06-25 11:34:39 +00:00
.bazelrc Add example of using JNI to call into Rust (#2690) 2024-06-14 08:46:12 +00:00
.bazelversion Pin to Bazel 7.3.2 (#2957) 2024-10-23 17:51:14 +00:00
BUILD.bazel Renamed BUILD and WORKSPACE files to BUILD.bazel and WORKSPACE.bazel (#665) 2021-03-30 21:51:05 +01:00
WORKSPACE.bazel Update wasm_bindgen to non-deprecated rules_js API (#2934) 2024-10-15 16:59:38 +00:00
maven_install.json Add example of using JNI to call into Rust (#2690) 2024-06-14 08:46:12 +00:00