From be19031c3212c4f5750a761dfe68136b22341cb1 Mon Sep 17 00:00:00 2001 From: Moysan Gabriel Date: Mon, 13 Mar 2023 18:01:02 +0100 Subject: [PATCH] enum visibility --- src/simulator/machine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulator/machine.rs b/src/simulator/machine.rs index 462c775..2991611 100644 --- a/src/simulator/machine.rs +++ b/src/simulator/machine.rs @@ -10,7 +10,7 @@ use std::fs::File; /* * Decommenter la variant si il est utilisé quelque part */ -enum ExceptionType { +pub enum ExceptionType { NO_EXCEPTION,//Everything ok! //SYSCALL_EXCEPTION,//A program executed a system call. PAGEFAULT_EXCEPTION,//Page fault exception