Compare commits
No commits in common. "56adbcf2273cd79cb062768bb3709cb6ffdcd368" and "2caca3a48dd6dcb256bbbdaef156dab72f512673" have entirely different histories.
56adbcf227
...
2caca3a48d
@ -1,9 +0,0 @@
|
|||||||
# Workaround for Dioxus 0.7.9 leaking the wasm_js getrandom backend cfg
|
|
||||||
# into the server build. We disable DX's automatic flag in the Makefile
|
|
||||||
# and set it only for the wasm32 target here.
|
|
||||||
[target.wasm32-unknown-unknown]
|
|
||||||
rustflags = ["--cfg", "getrandom_backend=\"wasm_js\""]
|
|
||||||
|
|
||||||
# Uncomment and adjust after installing a musl C toolchain:
|
|
||||||
[target.x86_64-unknown-linux-musl]
|
|
||||||
linker = "x86_64-linux-musl-gcc"
|
|
||||||
@ -50,7 +50,6 @@ debug = false
|
|||||||
opt-level = 3
|
opt-level = 3
|
||||||
lto = "thin"
|
lto = "thin"
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
strip = "symbols"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["web", "server"]
|
default = ["web", "server"]
|
||||||
|
|||||||
3
Makefile
3
Makefile
@ -10,8 +10,7 @@ build-linux:
|
|||||||
@$(MAKE) build-editor
|
@$(MAKE) build-editor
|
||||||
@$(MAKE) highlight-css
|
@$(MAKE) highlight-css
|
||||||
@tailwindcss -i input.css -o public/style.css --minify
|
@tailwindcss -i input.css -o public/style.css --minify
|
||||||
@dx build @client --release --debug-symbols=false --wasm-js-cfg false
|
@dx build --release --debug-symbols=false --target x86_64-unknown-linux-musl
|
||||||
@dx build @server --release --debug-symbols=false --target x86_64-unknown-linux-musl --wasm-js-cfg false --features server
|
|
||||||
|
|
||||||
highlight-css:
|
highlight-css:
|
||||||
@cargo run --bin generate_highlight_css
|
@cargo run --bin generate_highlight_css
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user