Files
dioxus/packages/subsecond/subsecond-tests/cross-tls-test
Jonathan Kelley 0982c1ff8b feat: copy frameworks to Frameworks folder, detect linkers, custom target dirs (#4174)
* feat: copy frameworks to Frameworks folder

* add dylib linking to patching

* remove logging

* rename __aslr_offset

* fix android/linux

* support linker flavor

* support custom target dirs

* custom cargo target dir support

* whoops ios

* dlsym doesn't exist on windows

* look for the right main symbol per platform

* distinction between mains

* export main on windows

* enbable rlib caching

* add dx hash

* adjust linking warnings

* update tui with hotreload state

* implement symbol flags

* add flags

* only run ranlib on darwin

* enable lld

* paths

* add harness test for tls

* wip: revert launch mobile

* wip

* fix fullstack mobile

* fix a few bugs
- long paths?
- reverting back to original

* pass-thru fuse-ld args

* fix nan in render, fix empty archives

* consider existing dep files if archive exists

* fmt

* drop msrv
2025-05-24 22:41:30 +01:00
..

harness for testing cross-crate TLS imports.

TLS is the hardest to get right with binary patchinig since we need to rewrite initializers.

this crate relies on two crates - one as a dylib and the other as an rlib

the dylib should make it into our bundle and the rlib should just be linked.

both shouldn't cause access errors or segfaults during hotpatch.

cargo run --package dioxus-cli -- serve --hotpatch