File tree 5 files changed +11
-10
lines changed
5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 5
5
6
6
[target .x86_64-unknown-linux-gnu ]
7
7
linker = " clang"
8
- rustflags = [" -Clink-arg=-fuse-ld=lld" , " -Zshare-generics=y" ]
8
+ rustflags = [
9
+ " -Clink-arg=-fuse-ld=lld" ,
10
+ " -Zshare-generics=yes" ,
11
+ " -Clink-arg=--ld-path=/usr/local/bin/mold" ,
12
+ ]
9
13
10
14
# NOTE: you must install [Mach-O LLD Port](https://lld.llvm.org/MachO/index.html) on mac. you can easily do this by installing llvm which includes lld with the "brew" package manager:
11
15
# `brew install llvm`
@@ -24,3 +28,6 @@ rustflags = ["-Zshare-generics=n"]
24
28
# In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains.
25
29
# [profile.dev]
26
30
# debug = 1
31
+ #
32
+ [build ]
33
+ rustc-wrapper = " /home/jer/.cargo/bin/sccache"
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -189,5 +189,4 @@ cython_debug/
189
189
# .idea/
190
190
191
191
.direnv /*
192
- .cargo
193
- .direnv
192
+ .cargo /config.toml
Original file line number Diff line number Diff line change @@ -55,11 +55,9 @@ impl Plugin for ShadPlayPlugin {
55
55
// DEBUG:
56
56
// #[cfg(debug_assertions)]
57
57
// drag_n_drop::debug_tex_keys,
58
- //
59
58
file_drag_and_drop_listener,
60
- //TODO:
61
- // add_and_set_dropped_file.run_if(on_event::<UserAddedTexture>()),
62
- // override_current_shader.run_if(on_event::<DragNDropShader>()),
59
+ add_and_set_dropped_file. run_if ( on_event :: < UserAddedTexture > ) ,
60
+ override_current_shader. run_if ( on_event :: < DragNDropShader > ) ,
63
61
cam_switch_system,
64
62
quit,
65
63
switch_level,
@@ -76,7 +74,6 @@ impl Plugin for ShadPlayPlugin {
76
74
size_quad
77
75
. run_if ( in_state ( AppState :: TwoD ) )
78
76
. run_if ( on_event :: < WindowResized > ) ,
79
- //TODO:
80
77
swap_2d_tex_from_idx. run_if ( on_event :: < KeyboardInput > ) ,
81
78
) ,
82
79
) ;
You can’t perform that action at this time.
0 commit comments