workspace hot-patching, dynamic tls fixups (#5291)
* Refactor cross-tls-crate-dylib configuration and update test output - Commented out the crate-type configuration in Cargo.toml for cross-tls-crate-dylib. - Modified the initial value of the thread-local variable FOO from 2.0 to 1.0 in the main.rs test file. - Updated the output message in main.rs to be more descriptive. - Added a new field `tls_fixups` to the JumpTable struct in subsecond-types, which will facilitate future runtime TLS sharing. * ws hotpatch! * remove old file * undo core change * svh * Enhance rlib path resolution by incorporating -C extra-filename handling * remove obj diffing * small cleanups * obj cache as files * simplify * simplify a bit * dont bother round tripping cache * extract to helper * cleanup `build` function * dont round-trip modified_crates * make sure to wipe between full * bit of a cleanup * use explicit naming * compact extra method * fix temp cleanup * fix warnign * cleanup * fmt, clippy
This commit is contained in:
1 parent
9b0d380765
commit
33159f366a
12 files changed
+1229
-348
No files matched your search
@@ -414,6 +414,13 @@ incremental = true
|
||||
[profile.dev.package.walrus]
|
||||
opt-level = 3
|
||||
|
||||
# ensure we have adversarial setup for tls
|
||||
[profile.dev.package.cross-tls-crate]
|
||||
opt-level = 2
|
||||
|
||||
[profile.dev.package.cross-tls-crate-dylib]
|
||||
opt-level = 2
|
||||
|
||||
[profile.release-max-opt]
|
||||
inherits = "release"
|
||||
lto = true
|
||||
|
||||
Reference in new issue
Block a user