Skip to content

Commit

Permalink
chore: update wasmer ATTRIBUTION links (near#11534)
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa authored Jun 10, 2024
1 parent b8f08d9 commit 2442a58
Show file tree
Hide file tree
Showing 34 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion runtime/near-vm/compiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion runtime/near-vm/compiler/src/function.rs
Original file line number Diff line number Diff line change
@@ -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`).
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/compiler/src/sourceloc.rs
Original file line number Diff line number Diff line change
@@ -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.
//!
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/compiler/src/translator/environ.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/compiler/src/translator/module.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/compiler/src/translator/sections.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/compiler/src/translator/state.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/engine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion runtime/near-vm/engine/src/universal/code_memory.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/types/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion runtime/near-vm/types/src/entity/boxed_slice.rs
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/types/src/entity/iter.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/types/src/entity/keys.rs
Original file line number Diff line number Diff line change
@@ -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.
//!
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/types/src/entity/mod.rs
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/types/src/entity/packed_option.rs
Original file line number Diff line number Diff line change
@@ -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<T>` for types with a reserved value.
//!
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/types/src/entity/primary_map.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/types/src/entity/secondary_map.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/types/src/module.rs
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/export/mod.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/imports.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/instance/mod.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/libcalls.rs
Original file line number Diff line number Diff line change
@@ -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.
//!
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/memory/mod.rs
Original file line number Diff line number Diff line change
@@ -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.
//!
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/mmap.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/probestack.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/sig_registry.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/table.rs
Original file line number Diff line number Diff line change
@@ -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.
//!
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/trap/handlers.c
Original file line number Diff line number Diff line change
@@ -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 <setjmp.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/trap/mod.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/trap/trapcode.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/trap/traphandlers.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/vmcontext.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion runtime/near-vm/vm/src/vmoffsets.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 2442a58

Please sign in to comment.