Skip to content

Commit 690387c

Browse files
committed
Allow mutable reference to mutable static in test logger
Signed-off-by: Simon Davies <[email protected]>
1 parent c708e3a commit 690387c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hyperlight_testing/src/simplelogger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
16+
#![allow(static_mut_refs)]
1717
// this is a non threadsafe logger for testing purposes, to test the log messages emitted by the guest.
1818
// it will only log messages from the hyperlight_guest target. It will not log messages from other targets.
1919
// this target is only used when handling an outb log request from the guest, so this logger will only capture those messages.

0 commit comments

Comments
 (0)