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
This commit is contained in:
1 parent
751f1920c3
commit
0982c1ff8b
25 files changed
+1044
-315
No files matched your search
@@ -1,15 +1,5 @@
|
||||
//! Configuration of the CLI at runtime to enable certain experimental features.
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
/// Should we cache the dependency library?
|
||||
///
|
||||
/// When the `DIOXUS_CACHE_DEP_LIB` environment variable is set, we will cache the dependency library
|
||||
/// built from the target's dependencies.
|
||||
pub(crate) fn should_cache_dep_lib(lib: &Path) -> bool {
|
||||
std::env::var("DIOXUS_CACHE_DEP_LIB").is_ok() && lib.exists()
|
||||
}
|
||||
|
||||
/// Should we force the entropy to be used on the main exe?
|
||||
///
|
||||
/// This is used to verify that binaries are copied with different names such that they don't collide
|
||||
|
||||
Reference in new issue
Block a user