|
| 1 | +[env] |
| 2 | +GDAL_STATIC = "1" |
| 3 | +GDAL_HOME = { value = "target/vcpkg/installed/arm64-osx-release", relative = true } |
| 4 | +PKG_CONFIG = { value = "target/vcpkg/installed/arm64-osx-release/tools/pkgconf/pkgconf", relative = true } |
| 5 | +PKG_CONFIG_PATH = { value = "target/vcpkg/installed/arm64-osx-release/lib/pkgconfig", relative = true } |
| 6 | +PYO3_PYTHON = { value = ".pixi/envs/default/bin/python3", relative = true } |
| 7 | + |
| 8 | +[target.x86_64-pc-windows-msvc] |
| 9 | +rustflags = ["-C", "target-feature=+crt-static,+avx2"] |
| 10 | + |
| 11 | +[target.x86_64-unknown-linux-gnu] |
| 12 | +rustflags = ["-Ctarget-feature=+avx2"] |
| 13 | + |
| 14 | +[target.x86_64-apple-darwin] |
| 15 | +rustflags = [ |
| 16 | + "-Ctarget-feature=+avx2", |
| 17 | + "-Clink-arg=-mmacosx-version-min=15.0", |
| 18 | + "-Clink-arg=-Wl,-rpath,/Users/dirk/Projects/geodynamix/.pixi/envs/default/lib/" |
| 19 | +] |
| 20 | + |
| 21 | +[target.aarch64-apple-darwin] |
| 22 | +rustflags = [ |
| 23 | + "-Clink-arg=-mmacosx-version-min=15.0", |
| 24 | + "-Clink-arg=-Wl,-rpath,/Users/dirk/Projects/geodynamix/.pixi/envs/default/lib/" |
| 25 | +] |
| 26 | + |
| 27 | +[target.'cfg(all())'] |
| 28 | +rustflags = [ |
| 29 | + "-Wclippy::all", |
| 30 | + "-Wclippy::await_holding_lock", |
| 31 | + "-Wclippy::char_lit_as_u8", |
| 32 | + "-Wclippy::checked_conversions", |
| 33 | + "-Wclippy::dbg_macro", |
| 34 | + "-Wclippy::debug_assert_with_mut_call", |
| 35 | + "-Wclippy::doc_markdown", |
| 36 | + "-Wclippy::empty_enum", |
| 37 | + "-Wclippy::enum_glob_use", |
| 38 | + "-Wclippy::expl_impl_clone_on_copy", |
| 39 | + "-Wclippy::explicit_deref_methods", |
| 40 | + "-Wclippy::explicit_into_iter_loop", |
| 41 | + "-Wclippy::fallible_impl_from", |
| 42 | + "-Wclippy::filter_map_next", |
| 43 | + "-Wclippy::flat_map_option", |
| 44 | + "-Wclippy::float_cmp_const", |
| 45 | + "-Wclippy::fn_params_excessive_bools", |
| 46 | + "-Wclippy::from_iter_instead_of_collect", |
| 47 | + "-Wclippy::if_let_mutex", |
| 48 | + "-Wclippy::implicit_clone", |
| 49 | + "-Wclippy::imprecise_flops", |
| 50 | + "-Wclippy::inefficient_to_string", |
| 51 | + "-Wclippy::invalid_upcast_comparisons", |
| 52 | + "-Wclippy::large_digit_groups", |
| 53 | + "-Wclippy::large_stack_arrays", |
| 54 | + "-Wclippy::large_types_passed_by_value", |
| 55 | + "-Wclippy::let_unit_value", |
| 56 | + "-Wclippy::linkedlist", |
| 57 | + "-Wclippy::lossy_float_literal", |
| 58 | + "-Wclippy::macro_use_imports", |
| 59 | + "-Wclippy::manual_ok_or", |
| 60 | + "-Wclippy::map_flatten", |
| 61 | + "-Wclippy::map_unwrap_or", |
| 62 | + "-Wclippy::match_on_vec_items", |
| 63 | + "-Wclippy::match_same_arms", |
| 64 | + "-Wclippy::match_wild_err_arm", |
| 65 | + "-Wclippy::match_wildcard_for_single_variants", |
| 66 | + "-Wclippy::mismatched_target_os", |
| 67 | + "-Wclippy::missing_enforced_import_renames", |
| 68 | + "-Wclippy::mut_mut", |
| 69 | + "-Wclippy::mutex_integer", |
| 70 | + "-Wclippy::needless_borrow", |
| 71 | + "-Wclippy::needless_continue", |
| 72 | + "-Wclippy::needless_for_each", |
| 73 | + "-Wclippy::option_option", |
| 74 | + "-Wclippy::path_buf_push_overwrite", |
| 75 | + "-Wclippy::ptr_as_ptr", |
| 76 | + "-Wclippy::rc_mutex", |
| 77 | + "-Wclippy::ref_option_ref", |
| 78 | + "-Wclippy::rest_pat_in_fully_bound_structs", |
| 79 | + "-Wclippy::same_functions_in_if_condition", |
| 80 | + "-Wclippy::semicolon_if_nothing_returned", |
| 81 | + "-Wclippy::single_match_else", |
| 82 | + "-Wclippy::string_add_assign", |
| 83 | + "-Wclippy::string_add", |
| 84 | + "-Wclippy::string_lit_as_bytes", |
| 85 | + "-Wclippy::string_to_string", |
| 86 | + "-Wclippy::todo", |
| 87 | + "-Wclippy::trait_duplication_in_bounds", |
| 88 | + "-Wclippy::unimplemented", |
| 89 | + "-Wclippy::unnested_or_patterns", |
| 90 | + "-Wclippy::unused_self", |
| 91 | + "-Wclippy::useless_transmute", |
| 92 | + "-Wclippy::verbose_file_reads", |
| 93 | + "-Wclippy::zero_sized_map_values", |
| 94 | + "-Wfuture_incompatible", |
| 95 | + "-Wnonstandard_style", |
| 96 | +] |
| 97 | + |
| 98 | +[profile.profiling] |
| 99 | +inherits = "release" |
| 100 | +debug = true |
0 commit comments