More clearly flag internal crates as such (#10963)* More clearly flag internal crates as suchThis commit is an attempt to more clearly flag internal crates in thisproject as internal and not int
More clearly flag internal crates as such (#10963)* More clearly flag internal crates as suchThis commit is an attempt to more clearly flag internal crates in thisproject as internal and not intended for external use. Specifically:* Many crates are renamed from `wasmtime-foo` to `wasmtime-internal-foo`.* All of these crates now have `INTERNAL: ...` in their crates.io description.* All of these crates now have a warning at the top of their documentation discouraging use.This change is a result of rustsec/advisory-db#1999 where the goal is tobe crystal clear from a project perspective that usage of these cratesare highly discouraged and not supported. We'll still probably get suchadvisories but we won't be considering them CVEs from the project itselfdue to the internal nature of these crates and the discouragingwarnings.Some concrete changes used here are:* Inter-crate dependencies still use `wasmtime_foo` for naming and do so with Cargo's package-renaming features.* Crate renames are specified at the workspace level so the rename is only in one locations and all other inherit it.* Contribution documentation now has some brief guidelines about crate organization.* Update vet config* Update checks for wasmtime-fiberprtest:full* Update publish script* Another fiber rename* Fix some doc tests
show more ...
Enable `unsafe-attr-outside-unsafe` 2024 edition lint (#9964)* Enable `unsafe-attr-outside-unsafe` 2024 edition lintThis commit enables the `unsafe-attr-outside-unsafe` lint in rustc usedin tran
Enable `unsafe-attr-outside-unsafe` 2024 edition lint (#9964)* Enable `unsafe-attr-outside-unsafe` 2024 edition lintThis commit enables the `unsafe-attr-outside-unsafe` lint in rustc usedin transitioning to the 2024 edition. This requires that the`#[no_mangle]` attribute is replaced in favor of `#[unsafe(no_mangle)]`.This mostly affects the C API of wasmtime and most of the changes hereare a simple search/replace.* Another attribute update* Fix command adapter build
Support multiple versions of `wasmtime` in the same crate (#6673)* Attempt versioned exports to facilitate having multiple versions in the same crate* Modify approach to use `export_name` and `li
Support multiple versions of `wasmtime` in the same crate (#6673)* Attempt versioned exports to facilitate having multiple versions in the same crate* Modify approach to use `export_name` and `link_name`* Only apply version to names in assembly and foreign item fns* Attempt to handle the s390x case* Fix alignment of backslashes in assembly file* Pretend I understand the preprocessor* Version symbols in `crates/runtime/src/helpers.c`* Stop versioning `__jit_debug_register_code` because gdb relies on it and it is uses `weak` linkage* Version symbol in `crates/fiber/src/windows.c`* Consolidate `LitStr` creation in macro* Add new crate to publish script and supply-chain config* Fix order in supply chain config* Set `audit-as-crates-io` to false* Missing `versioned_link` for Windows* Version strings used in debug* Formatting* Get rid of `versioned_str` and bring back `versioned_suffix`---------Co-authored-by: Alex Crichton <[email protected]>