Skip to content

Commit

Permalink
make Bitwidth instances #[export] instead of #[global]
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgruetter committed Nov 20, 2023
1 parent d099771 commit 4b3074b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coqutil/Word/Bitwidth32.v
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Require Import Coq.ZArith.ZArith.
Require Export coqutil.Word.Bitwidth.

#[global] Instance BW32: Bitwidth 32 := {
#[export] Instance BW32: Bitwidth 32 := {
width_cases := or_introl eq_refl
}.
2 changes: 1 addition & 1 deletion src/coqutil/Word/Bitwidth64.v
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Require Import Coq.ZArith.ZArith.
Require Export coqutil.Word.Bitwidth.

#[global] Instance BW64: Bitwidth 64 := {
#[export] Instance BW64: Bitwidth 64 := {
width_cases := or_intror eq_refl
}.

0 comments on commit 4b3074b

Please sign in to comment.