diff --git a/runtime/near-vm/compiler/README.md b/runtime/near-vm/compiler/README.md index c1cde73fd23..ad0d5bd2892 100644 --- a/runtime/near-vm/compiler/README.md +++ b/runtime/near-vm/compiler/README.md @@ -54,4 +54,4 @@ attributions of the project. [`cranelift-wasm`]: https://crates.io/crates/cranelift-wasm -[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md diff --git a/runtime/near-vm/compiler/src/function.rs b/runtime/near-vm/compiler/src/function.rs index 7b99eb1fe32..c0b4728f01e 100644 --- a/runtime/near-vm/compiler/src/function.rs +++ b/runtime/near-vm/compiler/src/function.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! A `Compilation` contains the compiled function bodies for a WebAssembly //! module (`CompiledFunction`). diff --git a/runtime/near-vm/compiler/src/sourceloc.rs b/runtime/near-vm/compiler/src/sourceloc.rs index b2b091e5d95..bd57d27e0c7 100644 --- a/runtime/near-vm/compiler/src/sourceloc.rs +++ b/runtime/near-vm/compiler/src/sourceloc.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Source locations. //! diff --git a/runtime/near-vm/compiler/src/translator/environ.rs b/runtime/near-vm/compiler/src/translator/environ.rs index e10fb409429..fda78439505 100644 --- a/runtime/near-vm/compiler/src/translator/environ.rs +++ b/runtime/near-vm/compiler/src/translator/environ.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md use super::state::ModuleTranslationState; use crate::lib::std::borrow::ToOwned; use crate::lib::std::string::ToString; diff --git a/runtime/near-vm/compiler/src/translator/module.rs b/runtime/near-vm/compiler/src/translator/module.rs index 1bf29118f84..f25d94f702a 100644 --- a/runtime/near-vm/compiler/src/translator/module.rs +++ b/runtime/near-vm/compiler/src/translator/module.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Translation skeleton that traverses the whole WebAssembly module and call helper functions //! to deal with each part of it. diff --git a/runtime/near-vm/compiler/src/translator/sections.rs b/runtime/near-vm/compiler/src/translator/sections.rs index de50fc42fc2..577e65df316 100644 --- a/runtime/near-vm/compiler/src/translator/sections.rs +++ b/runtime/near-vm/compiler/src/translator/sections.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Helper functions to gather information for each of the non-function sections of a //! WebAssembly module. diff --git a/runtime/near-vm/compiler/src/translator/state.rs b/runtime/near-vm/compiler/src/translator/state.rs index e9b73ae33d6..e10a51845cb 100644 --- a/runtime/near-vm/compiler/src/translator/state.rs +++ b/runtime/near-vm/compiler/src/translator/state.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md use near_vm_types::entity::PrimaryMap; use near_vm_types::{FunctionIndex, ImportIndex, ModuleInfo, SignatureIndex}; diff --git a/runtime/near-vm/engine/README.md b/runtime/near-vm/engine/README.md index 90669f8ce11..1c98575d65c 100644 --- a/runtime/near-vm/engine/README.md +++ b/runtime/near-vm/engine/README.md @@ -19,4 +19,4 @@ Please check [Wasmer `ATTRIBUTIONS`] to further see licenses and other attributions of the project. [`wasmtime-api`]: https://crates.io/crates/wasmtime -[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +[Wasmer `ATTRIBUTIONS`]: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md diff --git a/runtime/near-vm/engine/src/universal/code_memory.rs b/runtime/near-vm/engine/src/universal/code_memory.rs index b88aa80c2a0..baed92f045a 100644 --- a/runtime/near-vm/engine/src/universal/code_memory.rs +++ b/runtime/near-vm/engine/src/universal/code_memory.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Memory management for executable code. use near_vm_compiler::CompileError; diff --git a/runtime/near-vm/types/README.md b/runtime/near-vm/types/README.md index 54608f280d2..1706b93d408 100644 --- a/runtime/near-vm/types/README.md +++ b/runtime/near-vm/types/README.md @@ -27,4 +27,4 @@ Among other things, it defines the following _types_: This project borrowed some of the code for the entity structure from [cranelift-entity](https://crates.io/crates/cranelift-entity). We decided to move it here to help on serialization/deserialization and also to ease the integration with other tools like `loupe`. -Please check [Wasmer ATTRIBUTIONS](https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md) to further see licenses and other attributions of the project. +Please check [Wasmer ATTRIBUTIONS](https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md) to further see licenses and other attributions of the project. diff --git a/runtime/near-vm/types/src/entity/boxed_slice.rs b/runtime/near-vm/types/src/entity/boxed_slice.rs index c801f134dc1..512262f722e 100644 --- a/runtime/near-vm/types/src/entity/boxed_slice.rs +++ b/runtime/near-vm/types/src/entity/boxed_slice.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Boxed slices for `PrimaryMap`. diff --git a/runtime/near-vm/types/src/entity/iter.rs b/runtime/near-vm/types/src/entity/iter.rs index 1e770325ca9..2d1cae605b9 100644 --- a/runtime/near-vm/types/src/entity/iter.rs +++ b/runtime/near-vm/types/src/entity/iter.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! A double-ended iterator over entity references and entities. diff --git a/runtime/near-vm/types/src/entity/keys.rs b/runtime/near-vm/types/src/entity/keys.rs index 9e15157fecd..d1a6c087035 100644 --- a/runtime/near-vm/types/src/entity/keys.rs +++ b/runtime/near-vm/types/src/entity/keys.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! A double-ended iterator over entity references. //! diff --git a/runtime/near-vm/types/src/entity/mod.rs b/runtime/near-vm/types/src/entity/mod.rs index 9412fa76c12..73226af7a70 100644 --- a/runtime/near-vm/types/src/entity/mod.rs +++ b/runtime/near-vm/types/src/entity/mod.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md /// A type wrapping a small integer index should implement `EntityRef` so it can be used as the key /// of an `SecondaryMap` or `SparseMap`. diff --git a/runtime/near-vm/types/src/entity/packed_option.rs b/runtime/near-vm/types/src/entity/packed_option.rs index 44db4ea4d91..63321bcfb4a 100644 --- a/runtime/near-vm/types/src/entity/packed_option.rs +++ b/runtime/near-vm/types/src/entity/packed_option.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Compact representation of `Option` for types with a reserved value. //! diff --git a/runtime/near-vm/types/src/entity/primary_map.rs b/runtime/near-vm/types/src/entity/primary_map.rs index b617b3a2a43..26fc04ac5d1 100644 --- a/runtime/near-vm/types/src/entity/primary_map.rs +++ b/runtime/near-vm/types/src/entity/primary_map.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Densely numbered entity references as mapping keys. use rkyv::Archive; diff --git a/runtime/near-vm/types/src/entity/secondary_map.rs b/runtime/near-vm/types/src/entity/secondary_map.rs index 288a8534768..e664e831311 100644 --- a/runtime/near-vm/types/src/entity/secondary_map.rs +++ b/runtime/near-vm/types/src/entity/secondary_map.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Densely numbered entity references as mapping keys. diff --git a/runtime/near-vm/types/src/module.rs b/runtime/near-vm/types/src/module.rs index 785da0c2f8e..14bfc0de207 100644 --- a/runtime/near-vm/types/src/module.rs +++ b/runtime/near-vm/types/src/module.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Data structure for representing WebAssembly modules in a //! `wasmer::Module`. diff --git a/runtime/near-vm/vm/README.md b/runtime/near-vm/vm/README.md index 9ee5ac2a66f..b669f606839 100644 --- a/runtime/near-vm/vm/README.md +++ b/runtime/near-vm/vm/README.md @@ -25,4 +25,4 @@ directly. The `wasmer` crate provides types that embed types from This project borrowed some of the code for the VM structure and trapping from the [wasmtime-runtime](https://crates.io/crates/wasmtime-runtime). -Please check [Wasmer ATTRIBUTIONS](https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md) to further see licenses and other attributions of the project. +Please check [Wasmer ATTRIBUTIONS](https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md) to further see licenses and other attributions of the project. diff --git a/runtime/near-vm/vm/src/export/mod.rs b/runtime/near-vm/vm/src/export/mod.rs index 766b7d34c49..306dd6f9415 100644 --- a/runtime/near-vm/vm/src/export/mod.rs +++ b/runtime/near-vm/vm/src/export/mod.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md use crate::global::Global; use crate::instance::WeakOrStrongInstanceRef; diff --git a/runtime/near-vm/vm/src/imports.rs b/runtime/near-vm/vm/src/imports.rs index fdb36404cea..1d30a8b1eb1 100644 --- a/runtime/near-vm/vm/src/imports.rs +++ b/runtime/near-vm/vm/src/imports.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md use crate::instance::ImportFunctionEnv; use crate::vmcontext::{VMFunctionImport, VMGlobalImport, VMMemoryImport, VMTableImport}; diff --git a/runtime/near-vm/vm/src/instance/mod.rs b/runtime/near-vm/vm/src/instance/mod.rs index 0722e6d27b9..df1fc1152ba 100644 --- a/runtime/near-vm/vm/src/instance/mod.rs +++ b/runtime/near-vm/vm/src/instance/mod.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! An `Instance` contains all the runtime state used by execution of //! a WebAssembly module (except its callstack and register state). An diff --git a/runtime/near-vm/vm/src/libcalls.rs b/runtime/near-vm/vm/src/libcalls.rs index 84576eba5db..7256c2b68c6 100644 --- a/runtime/near-vm/vm/src/libcalls.rs +++ b/runtime/near-vm/vm/src/libcalls.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Runtime library calls. //! diff --git a/runtime/near-vm/vm/src/memory/mod.rs b/runtime/near-vm/vm/src/memory/mod.rs index 0bf4f044a2b..0f8ccb9b9ae 100644 --- a/runtime/near-vm/vm/src/memory/mod.rs +++ b/runtime/near-vm/vm/src/memory/mod.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Memory management for linear memories. //! diff --git a/runtime/near-vm/vm/src/mmap.rs b/runtime/near-vm/vm/src/mmap.rs index f89681c1d5e..f301fe3e0ff 100644 --- a/runtime/near-vm/vm/src/mmap.rs +++ b/runtime/near-vm/vm/src/mmap.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Low-level abstraction for allocating and managing zero-filled pages //! of memory. diff --git a/runtime/near-vm/vm/src/probestack.rs b/runtime/near-vm/vm/src/probestack.rs index cba4389d322..96297c92309 100644 --- a/runtime/near-vm/vm/src/probestack.rs +++ b/runtime/near-vm/vm/src/probestack.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! This section defines the `PROBESTACK` intrinsic which is used in the //! implementation of "stack probes" on certain platforms. diff --git a/runtime/near-vm/vm/src/sig_registry.rs b/runtime/near-vm/vm/src/sig_registry.rs index 9e00d8a174f..e0f272aade6 100644 --- a/runtime/near-vm/vm/src/sig_registry.rs +++ b/runtime/near-vm/vm/src/sig_registry.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Implement a registry of function signatures, for fast indirect call //! signature checking. diff --git a/runtime/near-vm/vm/src/table.rs b/runtime/near-vm/vm/src/table.rs index ed58dcb915a..909e8a6a887 100644 --- a/runtime/near-vm/vm/src/table.rs +++ b/runtime/near-vm/vm/src/table.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Memory management for tables. //! diff --git a/runtime/near-vm/vm/src/trap/handlers.c b/runtime/near-vm/vm/src/trap/handlers.c index f9df9f321c4..6a74d8645e7 100644 --- a/runtime/near-vm/vm/src/trap/handlers.c +++ b/runtime/near-vm/vm/src/trap/handlers.c @@ -1,5 +1,5 @@ // This file contains partial code from other sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md #include #include diff --git a/runtime/near-vm/vm/src/trap/mod.rs b/runtime/near-vm/vm/src/trap/mod.rs index 43c09862dc5..075dd6d3bb1 100644 --- a/runtime/near-vm/vm/src/trap/mod.rs +++ b/runtime/near-vm/vm/src/trap/mod.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! This is the module that facilitates the usage of Traps //! in Wasmer Runtime diff --git a/runtime/near-vm/vm/src/trap/trapcode.rs b/runtime/near-vm/vm/src/trap/trapcode.rs index 5f929a14f90..6f6ba543a84 100644 --- a/runtime/near-vm/vm/src/trap/trapcode.rs +++ b/runtime/near-vm/vm/src/trap/trapcode.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Trap codes describing the reason for a trap. diff --git a/runtime/near-vm/vm/src/trap/traphandlers.rs b/runtime/near-vm/vm/src/trap/traphandlers.rs index 608c36aad90..3a6c1e727c6 100644 --- a/runtime/near-vm/vm/src/trap/traphandlers.rs +++ b/runtime/near-vm/vm/src/trap/traphandlers.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! WebAssembly trap handling, which is built on top of the lower-level //! signalhandling mechanisms. diff --git a/runtime/near-vm/vm/src/vmcontext.rs b/runtime/near-vm/vm/src/vmcontext.rs index bfdeba5876e..e38d6f324cb 100644 --- a/runtime/near-vm/vm/src/vmcontext.rs +++ b/runtime/near-vm/vm/src/vmcontext.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! This file declares `VMContext` and several related structs which contain //! fields that compiled wasm code accesses directly. diff --git a/runtime/near-vm/vm/src/vmoffsets.rs b/runtime/near-vm/vm/src/vmoffsets.rs index be7bd6ed61f..7ef61747efd 100644 --- a/runtime/near-vm/vm/src/vmoffsets.rs +++ b/runtime/near-vm/vm/src/vmoffsets.rs @@ -1,5 +1,5 @@ // This file contains code from external sources. -// Attributions: https://github.com/wasmerio/wasmer/blob/master/ATTRIBUTIONS.md +// Attributions: https://github.com/wasmerio/wasmer/blob/2.3.0/ATTRIBUTIONS.md //! Offsets and sizes of various structs in near_vm-vm's vmcontext //! module.